Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 118.3 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.191/0.191, allocations: 38.51 MB / 349.4 MB, free: 2.691 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 487.8 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1148, allocations: 62.42 MB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008713/0.1236, allocations: 7.53 MB / 0.5447 GB, free: 8 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.1303, allocations: 4.506 MB / 0.5491 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.1308, allocations: 15.94 kB / 0.5491 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.1336, allocations: 1.05 MB / 0.5502 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.1371, allocations: 1.285 MB / 0.5514 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1381, allocations: 347.1 kB / 0.5517 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.1405, allocations: 1.402 MB / 0.5531 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1418, allocations: 0.633 MB / 0.5537 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1431, allocations: 0.6576 MB / 0.5544 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.1441, allocations: 0.7983 MB / 0.5552 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1442, allocations: 80 kB / 0.5552 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.1473, allocations: 1.594 MB / 0.5568 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006971/0.148, allocations: 0.6156 MB / 0.5574 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.1487, allocations: 0.5599 MB / 0.5579 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.152, allocations: 1.888 MB / 0.5598 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.152, allocations: 0 / 0.5598 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.152, allocations: 0 / 0.5598 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.152, allocations: 4 kB / 0.5598 GB, free: 0.5234 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002338/0.1544, allocations: 1.367 MB / 0.5611 GB, free: 15.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1544, allocations: 8.031 kB / 0.5611 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.52e-05/0.1545, allocations: 26.19 kB / 0.5612 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002488/0.1547, allocations: 160.8 kB / 0.5613 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.1588, allocations: 0.5463 MB / 0.5618 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.1601, allocations: 0.5679 MB / 0.5624 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.1602, allocations: 62.38 kB / 0.5625 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.1604, allocations: 92.34 kB / 0.5625 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.163, allocations: 1.508 MB / 0.564 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.163, allocations: 4 kB / 0.564 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1631, allocations: 35.98 kB / 0.5641 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.1633, allocations: 102 kB / 0.5642 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.1658, allocations: 1.546 MB / 0.5657 GB, free: 10.35 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008402/0.1742, allocations: 4.901 MB / 0.5704 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.1761, allocations: 1.087 MB / 0.5715 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.1771, allocations: 0.6865 MB / 0.5722 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.1772, allocations: 25.05 kB / 0.5722 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.1773, allocations: 43.56 kB / 0.5722 GB, free: 3.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 2.945e-06/0.1773, allocations: 0 / 0.5722 GB, free: 3.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.008223/0.1855, allocations: 3.679 MB / 0.5758 GB, free: 15.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.1856, allocations: 98.14 kB / 0.5759 GB, free: 15.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.1862, allocations: 473.8 kB / 0.5764 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.151e-05/0.1863, allocations: 41.7 kB / 0.5764 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.1866, allocations: 436.6 kB / 0.5768 GB, free: 14.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.187, allocations: 392.6 kB / 0.5772 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.1874, allocations: 194.9 kB / 0.5774 GB, free: 13.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1876, allocations: 386.7 kB / 0.5778 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008941/0.1885, allocations: 0.5374 MB / 0.5783 GB, free: 13.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.1896, allocations: 0.7617 MB / 0.579 GB, free: 12.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.1917, allocations: 1.396 MB / 0.5804 GB, free: 10.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1917, allocations: 0 / 0.5804 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003292/0.195, allocations: 1.79 MB / 0.5821 GB, free: 8.941 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1951, allocations: 8 kB / 0.5822 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1951, allocations: 4.5 kB / 0.5822 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.1962, allocations: 417.3 kB / 0.5826 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.1972, allocations: 235.6 kB / 0.5828 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/0.2051, allocations: 6.074 MB / 0.5887 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/0.2059, allocations: 75.88 kB / 0.5888 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.206, allocations: 40 kB / 0.5888 GB, free: 1.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005973/0.2066, allocations: 373.2 kB / 0.5892 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.2068, allocations: 79.59 kB / 0.5893 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2473/0.4541, allocations: 1.783 MB / 0.591 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.4541, allocations: 15.78 kB / 0.591 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.4541, allocations: 6.062 kB / 0.591 GB, free: 50.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.4541, allocations: 11.2 kB / 0.591 GB, free: 50.07 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/0.4606, allocations: 3.456 MB / 0.5944 GB, free: 49.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4606, allocations: 3.5 kB / 0.5944 GB, free: 49.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.4614, allocations: 193.4 kB / 0.5946 GB, free: 49.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009701/0.4624, allocations: 344.5 kB / 0.5949 GB, free: 49.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.4625, allocations: 28.14 kB / 0.5949 GB, free: 49.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/0.4689, allocations: 5.787 MB / 0.6006 GB, free: 45.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.4689, allocations: 8.531 kB / 0.6006 GB, free: 45.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.4722, allocations: 1.824 MB / 0.6024 GB, free: 44.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.4725, allocations: 160.2 kB / 0.6025 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4726, allocations: 25.75 kB / 0.6026 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.4732, allocations: 52.28 kB / 0.6026 GB, free: 44.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/0.4735, allocations: 94.47 kB / 0.6027 GB, free: 44.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4736, allocations: 37.36 kB / 0.6027 GB, free: 44.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004883/0.4741, allocations: 324.7 kB / 0.603 GB, free: 44.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4741, allocations: 0 / 0.603 GB, free: 44.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4753, allocations: 397.9 kB / 0.6034 GB, free: 44.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003145/0.4785, allocations: 2.387 MB / 0.6058 GB, free: 42.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.4811, allocations: 1.681 MB / 0.6074 GB, free: 41.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4811, allocations: 3.031 kB / 0.6074 GB, free: 41.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.4827, allocations: 1.027 MB / 0.6084 GB, free: 41.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.4836, allocations: 120.3 kB / 0.6085 GB, free: 41.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.4962, allocations: 9.128 MB / 0.6174 GB, free: 36.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/0.4969, allocations: 1.176 MB / 0.6186 GB, free: 36.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.4975, allocations: 239.3 kB / 0.6188 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.4979, allocations: 335.7 kB / 0.6191 GB, free: 35.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4979, allocations: 0 / 0.6191 GB, free: 35.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.5386, allocations: 20.95 MB / 0.6396 GB, free: 16.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12, allocations: 6.812 kB / 0.6396 GB, free: 16.68 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.122383245965466] Failed to read output from testmodel.py, exit status != 0: 12.14857546100393 12.158828637 12.004482491 Calling exit ...