Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001533/0.001533, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.00164/0.00164, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1899/0.1899, allocations: 38.56 MB / 353.2 MB, free: 12.31 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.002033/0.002033, allocations: 63.91 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 62.47 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006389/0.3315, allocations: 4.473 MB / 0.5471 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3341, allocations: 1.405 MB / 0.5484 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3343, allocations: 20.88 kB / 0.5485 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3354, allocations: 376.1 kB / 0.5488 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.3359, allocations: 238.5 kB / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.3367, allocations: 259.1 kB / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.3374, allocations: 0.5529 MB / 0.5498 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.3378, allocations: 255.4 kB / 0.5501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.3382, allocations: 272.2 kB / 0.5503 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.3388, allocations: 335.4 kB / 0.5507 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.3388, allocations: 33.47 kB / 0.5507 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.3391, allocations: 155.2 kB / 0.5508 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.3394, allocations: 237.2 kB / 0.5511 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.3397, allocations: 204.1 kB / 0.5513 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007954/0.3405, allocations: 0.6091 MB / 0.5519 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3405, allocations: 3.938 kB / 0.5519 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3405, allocations: 0 / 0.5519 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3405, allocations: 0 / 0.5519 GB, free: 9.512 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001455/0.3419, allocations: 0.7171 MB / 0.5526 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.342, allocations: 14.3 kB / 0.5526 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.167e-05/0.342, allocations: 10.84 kB / 0.5526 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3421, allocations: 87.97 kB / 0.5527 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.3429, allocations: 127.8 kB / 0.5528 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.3436, allocations: 354.2 kB / 0.5531 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.3436, allocations: 34.12 kB / 0.5532 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.3438, allocations: 52.58 kB / 0.5532 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3448, allocations: 0.6418 MB / 0.5538 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.3449, allocations: 9.422 kB / 0.5538 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.3449, allocations: 17.94 kB / 0.5539 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.345, allocations: 33.45 kB / 0.5539 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.3458, allocations: 483.7 kB / 0.5544 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.3493, allocations: 2.857 MB / 0.5571 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.3496, allocations: 173 kB / 0.5573 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.3498, allocations: 97.73 kB / 0.5574 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3498, allocations: 4 kB / 0.5574 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3499, allocations: 38.5 kB / 0.5574 GB, free: 4.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.3499, allocations: 0 / 0.5574 GB, free: 4.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001507/0.3514, allocations: 0.776 MB / 0.5582 GB, free: 4.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.3514, allocations: 81.17 kB / 0.5583 GB, free: 3.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.3518, allocations: 349.6 kB / 0.5586 GB, free: 3.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3518, allocations: 33.7 kB / 0.5586 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3521, allocations: 303.9 kB / 0.5589 GB, free: 3.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.3521, allocations: 87.27 kB / 0.559 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3523, allocations: 90.06 kB / 0.5591 GB, free: 3.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3525, allocations: 342.8 kB / 0.5594 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.3527, allocations: 124.8 kB / 0.5596 GB, free: 2.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.3531, allocations: 334.8 kB / 0.5599 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.3537, allocations: 0.5008 MB / 0.5604 GB, free: 1.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3537, allocations: 0 / 0.5604 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001084/0.3548, allocations: 0.5482 MB / 0.5609 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3548, allocations: 8 kB / 0.5609 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005546/0.3554, allocations: 283.2 kB / 0.5612 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.3557, allocations: 80.8 kB / 0.5613 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.3561, allocations: 99.81 kB / 0.5613 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.3579, allocations: 1.615 MB / 0.5629 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.3582, allocations: 23.98 kB / 0.5629 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.3582, allocations: 23.94 kB / 0.563 GB, free: 14.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.3585, allocations: 217.7 kB / 0.5632 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3586, allocations: 39.7 kB / 0.5632 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.3591, allocations: 291.9 kB / 0.5635 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3591, allocations: 4 kB / 0.5635 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3591, allocations: 0 / 0.5635 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3591, allocations: 0 / 0.5635 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3603, allocations: 0.7464 MB / 0.5642 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3603, allocations: 4 kB / 0.5642 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.3607, allocations: 55.91 kB / 0.5643 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3607, allocations: 4 kB / 0.5643 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3607, allocations: 4 kB / 0.5643 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.3607, allocations: 7.938 kB / 0.5643 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3607, allocations: 0 / 0.5643 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.3613, allocations: 477.5 kB / 0.5648 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3614, allocations: 23.81 kB / 0.5648 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3614, allocations: 15.97 kB / 0.5648 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3616, allocations: 12.06 kB / 0.5648 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3617, allocations: 19.97 kB / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3617, allocations: 4 kB / 0.5648 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.3619, allocations: 235.2 kB / 0.5651 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 0.5651 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.3624, allocations: 92 kB / 0.5651 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009512/0.3634, allocations: 1.028 MB / 0.5661 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007575/0.3641, allocations: 437.2 kB / 0.5666 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3641, allocations: 1.688 kB / 0.5666 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3643, allocations: 103.8 kB / 0.5667 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.3648, allocations: 83.08 kB / 0.5667 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.3702, allocations: 3.991 MB / 0.5706 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3706, allocations: 266 kB / 0.5709 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.3709, allocations: 111.2 kB / 0.571 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.3711, allocations: 143.4 kB / 0.5711 GB, free: 5.973 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3711, allocations: 3.938 kB / 0.5711 GB, free: 5.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.4039, allocations: 7.911 MB / 0.5789 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.64, allocations: 13.55 kB / 0.5789 GB, free: 14.22 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.569204305997118] Failed to read output from testmodel.py, exit status != 0: 12.805931118899025 12.830627955 12.486928476 Calling exit ...