Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001434/0.001434, 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.001927/0.001927, allocations: 205.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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.189/0.189, allocations: 38.53 MB / 353.2 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.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.002428/0.002428, allocations: 59.91 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3278, allocations: 62.48 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006955/0.3347, allocations: 5.071 MB / 0.5477 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.3372, allocations: 1.344 MB / 0.549 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.3374, allocations: 20.97 kB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.3379, allocations: 126.2 kB / 0.5492 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006891/0.3385, allocations: 338.8 kB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.339, allocations: 149.7 kB / 0.5496 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.3398, allocations: 0.7124 MB / 0.5503 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.34, allocations: 112.7 kB / 0.5505 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.3406, allocations: 323.5 kB / 0.5508 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.3414, allocations: 462.9 kB / 0.5512 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.3415, allocations: 45.06 kB / 0.5512 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3416, allocations: 47.31 kB / 0.5513 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3419, allocations: 254.6 kB / 0.5515 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.3422, allocations: 281.5 kB / 0.5518 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.3429, allocations: 0.5978 MB / 0.5524 GB, free: 9.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3429, allocations: 0 / 0.5524 GB, free: 9.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3429, allocations: 1.094 kB / 0.5524 GB, free: 9.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.343, allocations: 3.938 kB / 0.5524 GB, free: 9.273 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002167/0.3451, allocations: 0.8984 MB / 0.5533 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3452, allocations: 13.55 kB / 0.5533 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.254e-05/0.3452, allocations: 8.375 kB / 0.5533 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.251e-05/0.3453, allocations: 71.75 kB / 0.5534 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3454, allocations: 61.88 kB / 0.5534 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.3466, allocations: 0.5465 MB / 0.5539 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.3466, allocations: 27.47 kB / 0.554 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/0.3467, allocations: 39.28 kB / 0.554 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.3476, allocations: 0.5469 MB / 0.5545 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3476, allocations: 5.094 kB / 0.5546 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.3476, allocations: 14.36 kB / 0.5546 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003288/0.3479, allocations: 87.12 kB / 0.5546 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.3485, allocations: 362.6 kB / 0.555 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.3517, allocations: 2.019 MB / 0.557 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.3526, allocations: 373.1 kB / 0.5573 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.3531, allocations: 289.6 kB / 0.5576 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.3532, allocations: 7.938 kB / 0.5576 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3532, allocations: 34.56 kB / 0.5576 GB, free: 5.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.855e-06/0.3532, allocations: 4 kB / 0.5576 GB, free: 5.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004612/0.3578, allocations: 1.941 MB / 0.5595 GB, free: 3.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3579, allocations: 85.23 kB / 0.5596 GB, free: 2.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.3584, allocations: 377.6 kB / 0.56 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.3584, allocations: 37.7 kB / 0.56 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.3586, allocations: 248.6 kB / 0.5603 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.3588, allocations: 142.8 kB / 0.5604 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3589, allocations: 106.1 kB / 0.5605 GB, free: 2.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3591, allocations: 358.7 kB / 0.5608 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.3595, allocations: 240.9 kB / 0.5611 GB, free: 1.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.3599, allocations: 362 kB / 0.5614 GB, free: 1.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.3608, allocations: 0.6118 MB / 0.562 GB, free: 388 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3608, allocations: 7.938 kB / 0.562 GB, free: 380 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001794/0.3626, allocations: 1.009 MB / 0.563 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3626, allocations: 8.438 kB / 0.563 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3626, allocations: 8 kB / 0.563 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.3636, allocations: 397.3 kB / 0.5634 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.3639, allocations: 79.89 kB / 0.5635 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.3696, allocations: 4.94 MB / 0.5683 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.37, allocations: 43.94 kB / 0.5683 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.37, allocations: 19.94 kB / 0.5684 GB, free: 9.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * 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 {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.3703, allocations: 201.8 kB / 0.5685 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.3704, allocations: 47.72 kB / 0.5686 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.372, allocations: 0.8309 MB / 0.5694 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.372, allocations: 4 kB / 0.5694 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.372, allocations: 0 / 0.5694 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.372, allocations: 3.984 kB / 0.5694 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.3743, allocations: 1.39 MB / 0.5708 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3743, allocations: 0 / 0.5708 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3745, allocations: 47.84 kB / 0.5708 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.3758, allocations: 441.5 kB / 0.5712 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.3758, allocations: 31.97 kB / 0.5713 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006264/0.3821, allocations: 6.308 MB / 0.5774 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3821, allocations: 0 / 0.5774 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.384, allocations: 1.114 MB / 0.5785 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3841, allocations: 43.7 kB / 0.5786 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3843, allocations: 27.98 kB / 0.5786 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.3846, allocations: 35.94 kB / 0.5786 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3847, allocations: 35.88 kB / 0.5786 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3847, allocations: 15.92 kB / 0.5787 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.3851, allocations: 271.1 kB / 0.5789 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3851, allocations: 0 / 0.5789 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007194/0.3858, allocations: 160 kB / 0.5791 GB, free: 14.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002232/0.388, allocations: 1.673 MB / 0.5807 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.39, allocations: 0.8724 MB / 0.5816 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.39, allocations: 0 / 0.5816 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.3917, allocations: 0.8449 MB / 0.5824 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.3926, allocations: 125.7 kB / 0.5825 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00989/0.4024, allocations: 6.283 MB / 0.5886 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.403, allocations: 0.8859 MB / 0.5895 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.4033, allocations: 72.34 kB / 0.5896 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.4036, allocations: 151.4 kB / 0.5897 GB, free: 2.738 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4036, allocations: 4 kB / 0.5897 GB, free: 2.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.4529, allocations: 12.96 MB / 0.6024 GB, free: 5.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.78, allocations: 11.12 kB / 0.6024 GB, free: 5.945 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.85980171803385] Failed to read output from testmodel.py, exit status != 0: 12.959976735990494 12.988039177 12.63982402 Calling exit ...