Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0008464/0.0008464, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008474/0.0008474, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8734/0.8734, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2236/0.2236, allocations: 29.4 MB / 290.1 MB, free: 2.441 MB / 266.7 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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.272e-05, allocations: 8.109 kB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004036/0.004059, allocations: 4.238 MB / 434.5 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.005201, allocations: 0.9232 MB / 435.4 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.00535, allocations: 19.81 kB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.005519, allocations: 55.48 kB / 435.5 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.005973, allocations: 242.6 kB / 435.7 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.006143, allocations: 107.7 kB / 435.8 MB, free: 7.965 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.006513, allocations: 0.5021 MB / 436.3 MB, free: 7.461 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.006708, allocations: 92.33 kB / 436.4 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.007064, allocations: 314.9 kB / 436.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.007364, allocations: 251.3 kB / 436.9 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.007396, allocations: 28 kB / 437 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.007432, allocations: 20 kB / 437 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.007542, allocations: 163.6 kB / 437.1 MB, free: 6.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.007635, allocations: 123.6 kB / 437.3 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.007936, allocations: 362.8 kB / 437.6 MB, free: 6.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.00794, allocations: 0 / 437.6 MB, free: 6.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007941, allocations: 4 kB / 437.6 MB, free: 6.125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.007948, allocations: 0 / 437.6 MB, free: 6.125 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001065/0.009013, allocations: 0.5954 MB / 438.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.009054, allocations: 11.98 kB / 438.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.009106, allocations: 62.73 kB / 438.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.009157, allocations: 40.66 kB / 438.3 MB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.009537, allocations: 311.6 kB / 438.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.009552, allocations: 16.88 kB / 438.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.009593, allocations: 28.38 kB / 438.7 MB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.009942, allocations: 352.8 kB / 439 MB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.009953, allocations: 4 kB / 439 MB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.009972, allocations: 11.98 kB / 439 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.01005, allocations: 28.48 kB / 439.1 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.0103, allocations: 241.7 kB / 439.3 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.01135, allocations: 1.277 MB / 440.6 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.0116, allocations: 157 kB / 440.7 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.01172, allocations: 89.73 kB / 440.8 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01173, allocations: 4 kB / 440.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.01176, allocations: 42.55 kB / 440.9 MB, free: 2.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.01176, allocations: 3.984 kB / 440.9 MB, free: 2.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008698/0.01263, allocations: 0.617 MB / 441.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.01267, allocations: 77.11 kB / 441.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.01286, allocations: 304.4 kB / 441.9 MB, free: 1.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01288, allocations: 33.83 kB / 441.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.01297, allocations: 224 kB / 442.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.013, allocations: 51.53 kB / 442.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.01305, allocations: 53.66 kB / 442.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.01314, allocations: 338.8 kB / 442.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.01321, allocations: 67.95 kB / 442.6 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.01332, allocations: 168.8 kB / 442.8 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.01351, allocations: 260.2 kB / 443 MB, free: 344 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01352, allocations: 0 / 443 MB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000305/0.01382, allocations: 321.8 kB / 443.3 MB, free: 12 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.01384, allocations: 8 kB / 443.4 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1588/0.1727, allocations: 5.453 kB / 443.4 MB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.1729, allocations: 52.84 kB / 443.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1731, allocations: 52.02 kB / 443.5 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.1742, allocations: 1.486 MB / 444.9 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1743, allocations: 13.88 kB / 445 MB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1743, allocations: 15.8 kB / 445 MB, free: 53.1 MB / 410.7 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.1745, allocations: 171.5 kB / 445.1 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.1745, allocations: 30.28 kB / 445.2 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.1749, allocations: 228.7 kB / 445.4 MB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1749, allocations: 10.69 kB / 445.4 MB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.1749, allocations: 1.719 kB / 445.4 MB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1749, allocations: 6.562 kB / 445.4 MB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.1756, allocations: 0.5892 MB / 446 MB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1756, allocations: 0 / 446 MB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.1757, allocations: 26.66 kB / 446 MB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.1759, allocations: 64.22 kB / 446.1 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1759, allocations: 6.031 kB / 446.1 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008549/0.1768, allocations: 1.504 MB / 447.6 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1768, allocations: 3.031 kB / 447.6 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.1772, allocations: 395.2 kB / 448 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1772, allocations: 30.66 kB / 448 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1773, allocations: 7.094 kB / 448 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1774, allocations: 6.594 kB / 448 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.1774, allocations: 15.45 kB / 448.1 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1774, allocations: 6.531 kB / 448.1 MB, free: 51.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1776, allocations: 210.4 kB / 448.3 MB, free: 51.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1776, allocations: 0 / 448.3 MB, free: 51.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004288/0.178, allocations: 69.12 kB / 448.3 MB, free: 51.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.0005557/0.1785, allocations: 0.9433 MB / 449.3 MB, free: 50.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.179, allocations: 301.6 kB / 449.6 MB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.179, allocations: 0 / 449.6 MB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.1793, allocations: 205.3 kB / 449.8 MB, free: 49.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.1797, allocations: 60.33 kB / 449.8 MB, free: 49.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1827, allocations: 2.996 MB / 452.8 MB, free: 47.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.1828, allocations: 202.8 kB / 453 MB, free: 47.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1829, allocations: 42.19 kB / 453.1 MB, free: 47.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.183, allocations: 102.8 kB / 453.2 MB, free: 47.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.183, allocations: 0 / 453.2 MB, free: 47.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.2029, allocations: 6.942 MB / 460.1 MB, free: 46.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/7.058, allocations: 10.73 kB / 460.1 MB, free: 46.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.844481801614165] Failed to read output from testmodel.py, exit status != 0: 7.144170954823494 7.154834778 7.145328937 Calling exit ...