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.001345/0.001345, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001526/0.001526, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1843/0.1843, allocations: 38.52 MB / 352.5 MB, free: 12.64 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.002176/0.002176, allocations: 67.89 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 62.46 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007779/0.3525, allocations: 5.067 MB / 0.547 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.3554, allocations: 1.355 MB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.3557, allocations: 21.31 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.3562, allocations: 120.9 kB / 0.5484 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.357, allocations: 331.3 kB / 0.5487 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.3576, allocations: 166.4 kB / 0.5489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3587, allocations: 0.7046 MB / 0.5496 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.359, allocations: 111.7 kB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007298/0.3598, allocations: 323.8 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.3607, allocations: 462.9 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3608, allocations: 49.75 kB / 0.5505 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3609, allocations: 47.41 kB / 0.5505 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.3613, allocations: 249.2 kB / 0.5508 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.3617, allocations: 282.5 kB / 0.551 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009985/0.3627, allocations: 0.602 MB / 0.5516 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3627, allocations: 0 / 0.5516 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3627, allocations: 0 / 0.5516 GB, free: 9.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.3627, allocations: 1.344 kB / 0.5516 GB, free: 9.27 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.002326/0.365, allocations: 0.8905 MB / 0.5525 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3651, allocations: 12.27 kB / 0.5525 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.44e-05/0.3652, allocations: 72.22 kB / 0.5526 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3653, allocations: 54.2 kB / 0.5526 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3666, allocations: 0.5549 MB / 0.5532 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.3666, allocations: 26.81 kB / 0.5532 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.3667, allocations: 39.56 kB / 0.5532 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/0.3676, allocations: 0.5536 MB / 0.5538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3676, allocations: 1.406 kB / 0.5538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.3677, allocations: 11.91 kB / 0.5538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003567/0.3681, allocations: 86.8 kB / 0.5539 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.3688, allocations: 357.7 kB / 0.5542 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.3723, allocations: 2.034 MB / 0.5562 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.3732, allocations: 369.2 kB / 0.5565 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/0.3737, allocations: 289.4 kB / 0.5568 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.3737, allocations: 7.938 kB / 0.5568 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3738, allocations: 42.55 kB / 0.5569 GB, free: 5.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.943e-06/0.3738, allocations: 0 / 0.5569 GB, free: 5.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004806/0.3786, allocations: 1.937 MB / 0.5588 GB, free: 3.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.3787, allocations: 85.23 kB / 0.5588 GB, free: 2.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.3792, allocations: 385.5 kB / 0.5592 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.3792, allocations: 33.7 kB / 0.5592 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3794, allocations: 252.6 kB / 0.5595 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.3796, allocations: 134.9 kB / 0.5596 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.3798, allocations: 106.1 kB / 0.5597 GB, free: 2.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.38, allocations: 358.7 kB / 0.5601 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.3803, allocations: 240.9 kB / 0.5603 GB, free: 1.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.3808, allocations: 362 kB / 0.5606 GB, free: 1.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3819, allocations: 0.6157 MB / 0.5612 GB, free: 420 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3819, allocations: 4 kB / 0.5612 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001893/0.3838, allocations: 1.009 MB / 0.5622 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3838, allocations: 8.438 kB / 0.5622 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3838, allocations: 4 kB / 0.5622 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3848, allocations: 409.3 kB / 0.5626 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.3851, allocations: 75.91 kB / 0.5627 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.391, allocations: 4.944 MB / 0.5675 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.3914, allocations: 39.95 kB / 0.5676 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.3915, allocations: 19.98 kB / 0.5676 GB, free: 9.664 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.000344/0.3918, allocations: 197.8 kB / 0.5678 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3919, allocations: 47.7 kB / 0.5678 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.3935, allocations: 0.8309 MB / 0.5686 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3935, allocations: 4 kB / 0.5686 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3935, allocations: 4 kB / 0.5686 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3935, allocations: 7.875 kB / 0.5686 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.396, allocations: 1.39 MB / 0.57 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.396, allocations: 0 / 0.57 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.3962, allocations: 35.92 kB / 0.57 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.3974, allocations: 449.4 kB / 0.5705 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.3975, allocations: 35.97 kB / 0.5705 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006325/0.4038, allocations: 6.301 MB / 0.5766 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4038, allocations: 0 / 0.5766 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.4058, allocations: 1.118 MB / 0.5777 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.406, allocations: 35.72 kB / 0.5778 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.181e-05/0.4061, allocations: 27.98 kB / 0.5778 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4064, allocations: 35.94 kB / 0.5778 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4065, allocations: 39.92 kB / 0.5779 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.4065, allocations: 15.92 kB / 0.5779 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003227/0.4068, allocations: 271.1 kB / 0.5781 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 0.5781 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007187/0.4076, allocations: 156 kB / 0.5783 GB, free: 14.04 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.002317/0.4099, allocations: 1.677 MB / 0.5799 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.4117, allocations: 0.8724 MB / 0.5808 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4117, allocations: 0 / 0.5808 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.4133, allocations: 0.8488 MB / 0.5816 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.414, allocations: 138.1 kB / 0.5817 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/0.4236, allocations: 6.276 MB / 0.5879 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.4242, allocations: 0.882 MB / 0.5887 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.4245, allocations: 64.34 kB / 0.5888 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.4247, allocations: 155.4 kB / 0.5889 GB, free: 2.773 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4247, allocations: 4 kB / 0.5889 GB, free: 2.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.4811, allocations: 12.94 MB / 0.6016 GB, free: 5.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.7, allocations: 8 kB / 0.6016 GB, free: 5.98 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.878102863905951] Failed to read output from testmodel.py, exit status != 0: 12.810829751892015 12.828481531 12.46114032 Calling exit ...