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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001402, allocations: 106.4 kB / 17.06 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 195 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1837/0.1837, allocations: 38 MB / 309.2 MB, free: 5.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09575, allocations: 55.24 MB / 486.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007715/0.1035, allocations: 7.445 MB / 494.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.1099, allocations: 4.476 MB / 498.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.1108, allocations: 16 kB / 498.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.1134, allocations: 1.031 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.1167, allocations: 1.273 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1178, allocations: 347 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.1195, allocations: 1.399 MB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.1205, allocations: 0.8008 MB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000903/0.1214, allocations: 0.6459 MB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/0.1223, allocations: 0.7399 MB / 0.493 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1224, allocations: 80 kB / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.1247, allocations: 1.516 MB / 0.4945 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004703/0.1252, allocations: 0.604 MB / 0.4951 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.1257, allocations: 0.5638 MB / 0.4956 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.1279, allocations: 1.885 MB / 0.4975 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1279, allocations: 0 / 0.4975 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1279, allocations: 0 / 0.4975 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.1279, allocations: 0 / 0.4975 GB, free: 1.922 MB / 382.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.001889/0.1298, allocations: 1.338 MB / 0.4988 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1299, allocations: 11.89 kB / 0.4988 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.1301, allocations: 164.8 kB / 0.499 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.1339, allocations: 0.538 MB / 0.4995 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.135, allocations: 0.5521 MB / 0.5 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.1351, allocations: 66.36 kB / 0.5001 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.1353, allocations: 96.25 kB / 0.5002 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.1374, allocations: 1.504 MB / 0.5017 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.1375, allocations: 8 kB / 0.5017 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/0.1376, allocations: 35.98 kB / 0.5017 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.1377, allocations: 98 kB / 0.5018 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.14, allocations: 1.546 MB / 0.5033 GB, free: 11.82 MB / 398.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.007885/0.1479, allocations: 4.896 MB / 0.5081 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.1495, allocations: 1.168 MB / 0.5092 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009956/0.1505, allocations: 0.7658 MB / 0.51 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.1506, allocations: 21.05 kB / 0.51 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1507, allocations: 47.56 kB / 0.51 GB, free: 4.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.677e-06/0.1507, allocations: 0 / 0.51 GB, free: 4.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.008097/0.1588, allocations: 3.677 MB / 0.5136 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.1589, allocations: 90.11 kB / 0.5137 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.1594, allocations: 473.7 kB / 0.5142 GB, free: 384 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.1596, allocations: 41.7 kB / 0.5142 GB, free: 336 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.1599, allocations: 427.6 kB / 0.5146 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.1602, allocations: 370.6 kB / 0.515 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.1605, allocations: 202.8 kB / 0.5152 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1607, allocations: 382.8 kB / 0.5155 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/0.1615, allocations: 0.5413 MB / 0.5161 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/0.1624, allocations: 0.7577 MB / 0.5168 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.1642, allocations: 1.411 MB / 0.5182 GB, free: 12.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.1642, allocations: 0 / 0.5182 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00302/0.1673, allocations: 1.806 MB / 0.5199 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1673, allocations: 8 kB / 0.5199 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.1673, allocations: 4 kB / 0.5199 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.1684, allocations: 405.5 kB / 0.5203 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.1694, allocations: 235.6 kB / 0.5206 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006887/0.1763, allocations: 6.071 MB / 0.5265 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.1771, allocations: 67.92 kB / 0.5265 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.1772, allocations: 44 kB / 0.5266 GB, free: 3.125 MB / 414.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.0004896/0.1777, allocations: 369.4 kB / 0.5269 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.1778, allocations: 71.16 kB / 0.527 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.1808, allocations: 1.806 MB / 0.5288 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.1808, allocations: 12 kB / 0.5288 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.1808, allocations: 11.94 kB / 0.5288 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.1808, allocations: 7.969 kB / 0.5288 GB, free: 0.8359 MB / 414.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.2219/0.4027, allocations: 3.462 MB / 0.5322 GB, free: 50.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.4028, allocations: 6.031 kB / 0.5322 GB, free: 50.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007695/0.4035, allocations: 190.7 kB / 0.5324 GB, free: 50.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009062/0.4045, allocations: 346.1 kB / 0.5327 GB, free: 50.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.4045, allocations: 26.23 kB / 0.5327 GB, free: 50.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006599/0.4111, allocations: 5.782 MB / 0.5384 GB, free: 46.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.4112, allocations: 9.078 kB / 0.5384 GB, free: 46.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.4141, allocations: 1.828 MB / 0.5402 GB, free: 45.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.4143, allocations: 155.4 kB / 0.5403 GB, free: 45.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4145, allocations: 25.06 kB / 0.5403 GB, free: 45.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.415, allocations: 52.36 kB / 0.5404 GB, free: 45.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.4152, allocations: 94.19 kB / 0.5405 GB, free: 45.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.4153, allocations: 37.84 kB / 0.5405 GB, free: 45.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.4157, allocations: 328.1 kB / 0.5408 GB, free: 45.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 0.5408 GB, free: 45.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001146/0.4168, allocations: 397.5 kB / 0.5412 GB, free: 45.3 MB / 414.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.003032/0.4199, allocations: 2.402 MB / 0.5436 GB, free: 43.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.4227, allocations: 1.753 MB / 0.5453 GB, free: 43.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4227, allocations: 1.281 kB / 0.5453 GB, free: 43.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.4243, allocations: 1.076 MB / 0.5463 GB, free: 42.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.4252, allocations: 131.8 kB / 0.5464 GB, free: 42.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.4383, allocations: 9.122 MB / 0.5554 GB, free: 38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.4389, allocations: 1.167 MB / 0.5565 GB, free: 37.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.4395, allocations: 239.9 kB / 0.5567 GB, free: 37.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.4399, allocations: 339.3 kB / 0.557 GB, free: 36.97 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4399, allocations: 0 / 0.557 GB, free: 36.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.4948, allocations: 20.79 MB / 0.5773 GB, free: 18.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.96, allocations: 16.8 kB / 0.5774 GB, free: 18.23 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)