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.001796/0.001796, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00225/0.00225, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1926/0.1926, allocations: 38.55 MB / 352.5 MB, free: 12.34 MB / 286.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="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"}) [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.001994/0.001994, allocations: 78.17 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 62.45 MB / 0.542 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.0097/0.3584, allocations: 7.046 MB / 0.5488 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.3653, allocations: 4.164 MB / 0.5529 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.3658, allocations: 15.97 kB / 0.5529 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.3687, allocations: 1.008 MB / 0.5539 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.3724, allocations: 1.301 MB / 0.5552 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3736, allocations: 353.6 kB / 0.5555 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.376, allocations: 1.394 MB / 0.5569 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.3771, allocations: 0.5909 MB / 0.5574 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.3786, allocations: 0.6577 MB / 0.5581 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.38, allocations: 0.8099 MB / 0.5589 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.3801, allocations: 76 kB / 0.5589 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.3838, allocations: 1.418 MB / 0.5603 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.3845, allocations: 0.6117 MB / 0.5609 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006456/0.3852, allocations: 482 kB / 0.5614 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.3885, allocations: 1.9 MB / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.3885, allocations: 7.922 kB / 0.5633 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3885, allocations: 0 / 0.5633 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.3886, allocations: 0 / 0.5633 GB, free: 14.41 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.00248/0.3911, allocations: 1.28 MB / 0.5645 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3911, allocations: 11.98 kB / 0.5645 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.3913, allocations: 160.8 kB / 0.5647 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/0.3953, allocations: 0.5463 MB / 0.5652 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.3963, allocations: 0.5036 MB / 0.5657 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.3963, allocations: 74.34 kB / 0.5658 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.3965, allocations: 92.31 kB / 0.5659 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.399, allocations: 1.504 MB / 0.5673 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.399, allocations: 4 kB / 0.5673 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.3991, allocations: 31.98 kB / 0.5674 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.3993, allocations: 102 kB / 0.5675 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.4018, allocations: 1.538 MB / 0.569 GB, free: 8.453 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 preOpt removeSimpleEquations (simulation): time 0.008086/0.4099, allocations: 4.35 MB / 0.5732 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.4119, allocations: 1.094 MB / 0.5743 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.4129, allocations: 0.6826 MB / 0.5749 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.413, allocations: 16.98 kB / 0.575 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.4131, allocations: 47.56 kB / 0.575 GB, free: 2.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.727e-06/0.4131, allocations: 0 / 0.575 GB, free: 2.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008207/0.4213, allocations: 3.528 MB / 0.5784 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.4213, allocations: 94.11 kB / 0.5785 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/0.422, allocations: 477.7 kB / 0.579 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.372e-05/0.4221, allocations: 45.7 kB / 0.579 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.4224, allocations: 436.7 kB / 0.5795 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.4228, allocations: 384.7 kB / 0.5798 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.4231, allocations: 202.9 kB / 0.58 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.4234, allocations: 382.8 kB / 0.5804 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008369/0.4242, allocations: 0.5335 MB / 0.5809 GB, free: 11.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4253, allocations: 0.7656 MB / 0.5816 GB, free: 11.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.4274, allocations: 1.4 MB / 0.583 GB, free: 9.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4274, allocations: 0 / 0.583 GB, free: 9.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003347/0.4307, allocations: 1.79 MB / 0.5848 GB, free: 7.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.4308, allocations: 8 kB / 0.5848 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4308, allocations: 4 kB / 0.5848 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.4319, allocations: 409.7 kB / 0.5852 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/0.4329, allocations: 235.6 kB / 0.5854 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008052/0.4409, allocations: 5.696 MB / 0.591 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.4419, allocations: 63.92 kB / 0.591 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.442, allocations: 47.98 kB / 0.5911 GB, free: 1.172 MB / 430.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.0006751/0.4427, allocations: 365.3 kB / 0.5914 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.4428, allocations: 83.58 kB / 0.5915 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/0.4462, allocations: 1.791 MB / 0.5932 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.4462, allocations: 12 kB / 0.5932 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.4462, allocations: 11.94 kB / 0.5933 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.4462, allocations: 7.922 kB / 0.5933 GB, free: 14.88 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.006192/0.4524, allocations: 3.196 MB / 0.5964 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4524, allocations: 4 kB / 0.5964 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.4532, allocations: 183.8 kB / 0.5966 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.4542, allocations: 350.4 kB / 0.5969 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.4543, allocations: 35.94 kB / 0.5969 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007342/0.4616, allocations: 5.454 MB / 0.6023 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4616, allocations: 8.125 kB / 0.6023 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.465, allocations: 1.817 MB / 0.604 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.4652, allocations: 83.45 kB / 0.6041 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.4654, allocations: 24 kB / 0.6041 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.466, allocations: 55.88 kB / 0.6042 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.4662, allocations: 96.77 kB / 0.6043 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.4663, allocations: 39.98 kB / 0.6043 GB, free: 3.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004636/0.4668, allocations: 327.1 kB / 0.6046 GB, free: 2.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4668, allocations: 0 / 0.6046 GB, free: 2.824 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001299/0.4681, allocations: 399.9 kB / 0.605 GB, free: 2.434 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.003629/0.4717, allocations: 2.389 MB / 0.6074 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.4748, allocations: 1.681 MB / 0.609 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4748, allocations: 0 / 0.609 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.4765, allocations: 1.03 MB / 0.61 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.4775, allocations: 130 kB / 0.6101 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.493, allocations: 9.129 MB / 0.619 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009842/0.4939, allocations: 0.5716 MB / 0.6196 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007098/0.4946, allocations: 237.4 kB / 0.6198 GB, free: 2.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.4952, allocations: 339.3 kB / 0.6202 GB, free: 2.418 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4952, allocations: 0 / 0.6202 GB, free: 2.418 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/0.5623, allocations: 22.42 MB / 0.642 GB, free: 12.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.82, allocations: 5.781 kB / 0.642 GB, free: 12.16 MB / 494.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.861923499032855] Failed to read output from testmodel.py, exit status != 0: 12.942205345025286 12.969803901 12.576753679 Calling exit ...