Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.0008454/0.0008454, allocations: 79.7 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.001532/0.001532, allocations: 174 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.8835/0.8835, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2182/0.2182, allocations: 29.41 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.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.348e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004313/0.004337, allocations: 4.007 MB / 434.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.005454, allocations: 0.8295 MB / 435.1 MB, free: 8.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.00563, allocations: 19.81 kB / 435.1 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.005795, allocations: 47.52 kB / 435.1 MB, free: 8.652 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.006422, allocations: 174.9 kB / 435.3 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.006629, allocations: 83.81 kB / 435.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.00704, allocations: 426.2 kB / 435.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.007221, allocations: 70.69 kB / 435.9 MB, free: 7.906 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.007569, allocations: 243.2 kB / 436.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.007782, allocations: 159.5 kB / 436.2 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.007812, allocations: 24 kB / 436.3 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.00784, allocations: 20 kB / 436.3 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.00792, allocations: 95.7 kB / 436.4 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.008005, allocations: 95.7 kB / 436.5 MB, free: 7.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.00829, allocations: 287 kB / 436.8 MB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.008294, allocations: 0 / 436.8 MB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008296, allocations: 0 / 436.8 MB, free: 7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.008302, allocations: 0 / 436.8 MB, free: 7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000799/0.009101, allocations: 0.5371 MB / 437.3 MB, free: 6.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.009146, allocations: 15.98 kB / 437.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.009197, allocations: 54.73 kB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.009249, allocations: 36.7 kB / 437.4 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.009636, allocations: 269.2 kB / 437.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.009649, allocations: 12.88 kB / 437.7 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.953e-05/0.009729, allocations: 32.75 kB / 437.7 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.01003, allocations: 298.8 kB / 438 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01004, allocations: 3.938 kB / 438 MB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.01005, allocations: 12 kB / 438 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.01006, allocations: 4 kB / 438 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.01027, allocations: 187.6 kB / 438.2 MB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01157, allocations: 1.191 MB / 439.4 MB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.01178, allocations: 119.8 kB / 439.5 MB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.01183, allocations: 54.56 kB / 439.6 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.01185, allocations: 0 / 439.6 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.01187, allocations: 34.56 kB / 439.6 MB, free: 3.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.01187, allocations: 0 / 439.6 MB, free: 3.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007133/0.01259, allocations: 471.7 kB / 440.1 MB, free: 3.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.01264, allocations: 110.8 kB / 440.2 MB, free: 3.305 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.01279, allocations: 250.1 kB / 440.4 MB, free: 3.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.0128, allocations: 25.7 kB / 440.4 MB, free: 3.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.0129, allocations: 196.1 kB / 440.6 MB, free: 2.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.01293, allocations: 39.69 kB / 440.7 MB, free: 2.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.01298, allocations: 49.59 kB / 440.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.01306, allocations: 338.8 kB / 441 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.01311, allocations: 39.98 kB / 441.1 MB, free: 2.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.303e-05/0.01321, allocations: 135 kB / 441.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.01337, allocations: 183.8 kB / 441.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01337, allocations: 0 / 441.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002789/0.01365, allocations: 230.1 kB / 441.6 MB, free: 1.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.01367, allocations: 11.94 kB / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01368, allocations: 4 kB / 441.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.01378, allocations: 28.84 kB / 441.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.01396, allocations: 60.3 kB / 441.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.01397, allocations: 19.86 kB / 441.7 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.01405, allocations: 11.94 kB / 441.8 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.01406, allocations: 8 kB / 441.8 MB, free: 1.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.01417, allocations: 149.7 kB / 441.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.01421, allocations: 23.86 kB / 441.9 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.0144, allocations: 147.4 kB / 442.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01441, allocations: 0 / 442.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01441, allocations: 0 / 442.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.01442, allocations: 11.92 kB / 442.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.01466, allocations: 240.7 kB / 442.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01466, allocations: 0 / 442.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.01475, allocations: 31.92 kB / 442.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01475, allocations: 0 / 442.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01476, allocations: 11.98 kB / 442.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01476, allocations: 0 / 442.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01476, allocations: 0 / 442.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.01504, allocations: 370.9 kB / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.01506, allocations: 15.86 kB / 442.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01508, allocations: 8 kB / 442.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.01515, allocations: 4.062 kB / 442.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.01518, allocations: 19.84 kB / 442.8 MB, free: 496 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.01519, allocations: 8 kB / 442.8 MB, free: 488 kB / 410.7 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.01528, allocations: 169.2 kB / 442.9 MB, free: 320 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01528, allocations: 0 / 442.9 MB, free: 320 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01552, allocations: 44 kB / 443 MB, free: 276 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.1626/0.1781, allocations: 0.8811 MB / 443.9 MB, free: 53.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.1784, allocations: 130.8 kB / 444 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1784, allocations: 0 / 444 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.1785, allocations: 49.72 kB / 444 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1789, allocations: 71.95 kB / 444.1 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1806, allocations: 2.552 MB / 446.7 MB, free: 52.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.185e-05/0.1807, allocations: 158.8 kB / 446.8 MB, free: 52.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.1808, allocations: 33.48 kB / 446.9 MB, free: 52.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.1809, allocations: 91.66 kB / 446.9 MB, free: 51.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1809, allocations: 1 kB / 446.9 MB, free: 51.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.202, allocations: 5.684 MB / 452.6 MB, free: 50.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/7.103, allocations: 11.16 kB / 452.6 MB, free: 50.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.917603876441717] Failed to read output from testmodel.py, exit status != 0: 7.187534345313907 7.19451235 7.183710574 Calling exit ...