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.00179/0.00179, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002279/0.002279, allocations: 202.2 kB / 24.52 MB, free: 4.156 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.535/1.535, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.1956/0.1956, allocations: 38.54 MB / 353.3 MB, free: 12.54 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="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.002862/0.002862, allocations: 59.89 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3532, allocations: 62.47 MB / 0.5428 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009712/0.3629, allocations: 7.619 MB / 0.5502 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007473/0.3704, allocations: 4.543 MB / 0.5547 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.371, allocations: 17.25 kB / 0.5547 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.3739, allocations: 1.063 MB / 0.5557 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.3781, allocations: 1.301 MB / 0.557 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3794, allocations: 344.2 kB / 0.5573 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.3831, allocations: 1.402 MB / 0.5587 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.3843, allocations: 0.5892 MB / 0.5593 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3858, allocations: 0.6537 MB / 0.5599 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.3873, allocations: 0.8061 MB / 0.5607 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.3875, allocations: 80 kB / 0.5608 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.3909, allocations: 1.652 MB / 0.5624 GB, free: 408 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.3916, allocations: 0.6195 MB / 0.563 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.3923, allocations: 0.5561 MB / 0.5635 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004195/0.3965, allocations: 1.896 MB / 0.5654 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3965, allocations: 0 / 0.5654 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3965, allocations: 0 / 0.5654 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.3965, allocations: 4 kB / 0.5654 GB, free: 13.31 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.002347/0.3989, allocations: 1.286 MB / 0.5666 GB, free: 11.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.399, allocations: 11.98 kB / 0.5666 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.499e-05/0.399, allocations: 30.19 kB / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.3992, allocations: 156.8 kB / 0.5668 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/0.4032, allocations: 0.5463 MB / 0.5673 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4043, allocations: 0.5075 MB / 0.5678 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.4044, allocations: 74.36 kB / 0.5679 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.4045, allocations: 84.36 kB / 0.568 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.4069, allocations: 1.504 MB / 0.5695 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.4069, allocations: 4 kB / 0.5695 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.987e-05/0.407, allocations: 35.98 kB / 0.5695 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.4071, allocations: 102 kB / 0.5696 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4096, allocations: 1.55 MB / 0.5711 GB, free: 7.309 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.008152/0.4177, allocations: 4.841 MB / 0.5758 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.4196, allocations: 1.09 MB / 0.5769 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.4207, allocations: 0.6865 MB / 0.5776 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.778e-05/0.4207, allocations: 24.98 kB / 0.5776 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.4208, allocations: 47.55 kB / 0.5776 GB, free: 396 kB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.246e-06/0.4208, allocations: 0 / 0.5776 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008242/0.429, allocations: 3.521 MB / 0.5811 GB, free: 12.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.4291, allocations: 90.11 kB / 0.5812 GB, free: 12.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.4297, allocations: 477.7 kB / 0.5816 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.4298, allocations: 45.7 kB / 0.5817 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.4301, allocations: 432.7 kB / 0.5821 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.4305, allocations: 388.6 kB / 0.5825 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/0.4308, allocations: 206.9 kB / 0.5827 GB, free: 11.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.431, allocations: 386.7 kB / 0.583 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.4318, allocations: 0.5335 MB / 0.5835 GB, free: 10.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.4329, allocations: 0.7578 MB / 0.5843 GB, free: 9.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.435, allocations: 1.396 MB / 0.5856 GB, free: 7.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.435, allocations: 11.94 kB / 0.5857 GB, free: 7.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003493/0.4385, allocations: 1.786 MB / 0.5874 GB, free: 6.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.4386, allocations: 8 kB / 0.5874 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.4386, allocations: 8 kB / 0.5874 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.4398, allocations: 405.8 kB / 0.5878 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.4407, allocations: 235.6 kB / 0.588 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.4486, allocations: 5.863 MB / 0.5938 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.4496, allocations: 67.89 kB / 0.5938 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.4497, allocations: 48.05 kB / 0.5939 GB, free: 15.28 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.0007547/0.4505, allocations: 361.4 kB / 0.5942 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4507, allocations: 75.53 kB / 0.5943 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.4542, allocations: 1.795 MB / 0.596 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.4542, allocations: 15.94 kB / 0.596 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4542, allocations: 8 kB / 0.5961 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.4543, allocations: 7.969 kB / 0.5961 GB, free: 13 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.006324/0.4606, allocations: 3.429 MB / 0.5994 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4606, allocations: 4 kB / 0.5994 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.4614, allocations: 187.7 kB / 0.5996 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000983/0.4624, allocations: 358.1 kB / 0.5999 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.4624, allocations: 27.98 kB / 0.6 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007281/0.4697, allocations: 5.576 MB / 0.6054 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4697, allocations: 7.938 kB / 0.6054 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.4729, allocations: 1.818 MB / 0.6072 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4731, allocations: 79.47 kB / 0.6073 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4732, allocations: 27.94 kB / 0.6073 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.4738, allocations: 59.88 kB / 0.6073 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.474, allocations: 92.83 kB / 0.6074 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.4741, allocations: 39.98 kB / 0.6075 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003931/0.4744, allocations: 327 kB / 0.6078 GB, free: 0.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4744, allocations: 3.938 kB / 0.6078 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001184/0.4756, allocations: 396 kB / 0.6082 GB, free: 156 kB / 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.003424/0.4791, allocations: 2.384 MB / 0.6105 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.4821, allocations: 1.685 MB / 0.6121 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.4821, allocations: 0 / 0.6121 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.4839, allocations: 1.022 MB / 0.6131 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.4848, allocations: 125.8 kB / 0.6133 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.4996, allocations: 9.137 MB / 0.6222 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.5007, allocations: 1.17 MB / 0.6233 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.5013, allocations: 241.4 kB / 0.6236 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.5019, allocations: 339.3 kB / 0.6239 GB, free: 15.55 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5019, allocations: 0 / 0.6239 GB, free: 15.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.559, allocations: 21.94 MB / 0.6453 GB, free: 9.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.54, allocations: 11.31 kB / 0.6453 GB, free: 9.734 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.597937708022073] Failed to read output from testmodel.py, exit status != 0: 13.722793385968544 13.741878103 13.340916565 Calling exit ...