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.0008845/0.0008845, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.001273/0.001273, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8731/0.8731, 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.2166/0.2166, allocations: 29.41 MB / 290.1 MB, free: 2.434 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.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: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.749e-05, allocations: 3.406 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004642/0.00466, allocations: 4.749 MB / 435 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.006077, allocations: 1.239 MB / 436.2 MB, free: 7.578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.006296, allocations: 23.81 kB / 436.2 MB, free: 7.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.006679, allocations: 119 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005584/0.007238, allocations: 346.1 kB / 436.7 MB, free: 7.098 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.007592, allocations: 167.6 kB / 436.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.00807, allocations: 0.6889 MB / 437.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.008231, allocations: 104.6 kB / 437.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.008626, allocations: 398.8 kB / 438 MB, free: 5.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.009261, allocations: 423 kB / 438.4 MB, free: 5.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.009313, allocations: 48 kB / 438.5 MB, free: 5.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.009376, allocations: 48 kB / 438.5 MB, free: 5.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.009528, allocations: 251.3 kB / 438.8 MB, free: 4.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.009668, allocations: 207.5 kB / 439 MB, free: 4.789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.01006, allocations: 0.6036 MB / 439.6 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.01007, allocations: 0 / 439.6 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01007, allocations: 4 kB / 439.6 MB, free: 4.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01007, allocations: 0 / 439.6 MB, free: 4.18 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001056/0.01113, allocations: 0.8878 MB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.01116, allocations: 11.98 kB / 440.5 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.01122, allocations: 78.66 kB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.01129, allocations: 52.61 kB / 440.6 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.01193, allocations: 0.5455 MB / 441.2 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.01195, allocations: 32.77 kB / 441.2 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.01201, allocations: 43.95 kB / 441.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.01249, allocations: 0.5441 MB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.0125, allocations: 0 / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.01252, allocations: 23.98 kB / 441.8 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.01269, allocations: 84.53 kB / 441.9 MB, free: 1.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.01303, allocations: 358.3 kB / 442.2 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1445/0.1576, allocations: 1.916 MB / 444.2 MB, free: 53.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.1581, allocations: 371.3 kB / 444.5 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.1585, allocations: 318 kB / 444.8 MB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1585, allocations: 3.344 kB / 444.8 MB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1585, allocations: 47.22 kB / 444.9 MB, free: 53.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.1585, allocations: 0 / 444.9 MB, free: 53.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00226/0.1608, allocations: 1.956 MB / 446.8 MB, free: 53.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1608, allocations: 80.33 kB / 446.9 MB, free: 52.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1611, allocations: 383.7 kB / 447.3 MB, free: 52.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1611, allocations: 32.83 kB / 447.3 MB, free: 52.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1612, allocations: 254.5 kB / 447.6 MB, free: 52.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1612, allocations: 142 kB / 447.7 MB, free: 52.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.1613, allocations: 93.88 kB / 447.8 MB, free: 52.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.1613, allocations: 368 kB / 448.2 MB, free: 52.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1615, allocations: 241 kB / 448.4 MB, free: 51.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1618, allocations: 371.1 kB / 448.8 MB, free: 51.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.1622, allocations: 0.6242 MB / 449.4 MB, free: 51.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1622, allocations: 0 / 449.4 MB, free: 51.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008534/0.1631, allocations: 1.017 MB / 450.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1631, allocations: 8.531 kB / 450.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1631, allocations: 3.062 kB / 450.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.1636, allocations: 409.5 kB / 450.8 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1637, allocations: 80.62 kB / 450.9 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.1663, allocations: 4.903 MB / 455.8 MB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1664, allocations: 41.34 kB / 455.8 MB, free: 47.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1665, allocations: 17.19 kB / 455.8 MB, free: 47.75 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 (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.0001338/0.1666, allocations: 210.3 kB / 456.1 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.1666, allocations: 44.91 kB / 456.1 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.1674, allocations: 0.8267 MB / 456.9 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1674, allocations: 4.812 kB / 456.9 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1674, allocations: 3.375 kB / 456.9 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1674, allocations: 6.547 kB / 456.9 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1685, allocations: 1.334 MB / 458.3 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1685, allocations: 2.766 kB / 458.3 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1686, allocations: 40.78 kB / 458.3 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.1691, allocations: 445.1 kB / 458.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.1691, allocations: 39.23 kB / 458.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.1712, allocations: 6.279 MB / 465.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1712, allocations: 0 / 465.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.1721, allocations: 1.114 MB / 466.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.1721, allocations: 40.55 kB / 466.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.1721, allocations: 35.25 kB / 466.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1723, allocations: 39.84 kB / 466.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.1723, allocations: 41.3 kB / 466.3 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1724, allocations: 10.34 kB / 466.3 MB, free: 40.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1725, allocations: 269.2 kB / 466.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1725, allocations: 0 / 466.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.1729, allocations: 162.8 kB / 466.8 MB, free: 40.53 MB / 410.7 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.0009494/0.1738, allocations: 1.676 MB / 468.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.1746, allocations: 0.8718 MB / 469.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1746, allocations: 0 / 469.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.1752, allocations: 0.8533 MB / 470.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1756, allocations: 122.2 kB / 470.3 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.1796, allocations: 6.015 MB / 476.3 MB, free: 35.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.1798, allocations: 281.8 kB / 476.6 MB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1799, allocations: 70.52 kB / 476.6 MB, free: 35.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.18, allocations: 157.2 kB / 476.8 MB, free: 35.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.18, allocations: 0 / 476.8 MB, free: 35.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.2079, allocations: 13.85 MB / 490.6 MB, free: 33.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.152, allocations: 0.9688 kB / 490.6 MB, free: 33.4 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.221116232685745] Failed to read output from testmodel.py, exit status != 0: 7.2379375183954835 7.24746521 7.235410488 Calling exit ...