Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.0009624/0.0009624, allocations: 76.55 kB / 19.96 MB, free: 4.598 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.0009803/0.0009803, allocations: 177.9 kB / 23.25 MB, free: 1.312 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.9027/0.9027, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02377/0.02377, allocations: 4.465 MB / 264.5 MB, free: 8.766 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.447e-05, allocations: 2.281 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.00206/0.002084, allocations: 1.966 MB / 391.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004033, allocations: 1.656 MB / 393.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.004169, allocations: 4 kB / 393.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.004525, allocations: 147 kB / 393.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.004875, allocations: 194.6 kB / 393.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.005982, allocations: 0.8899 MB / 394.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.006464, allocations: 417.8 kB / 394.9 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.006657, allocations: 83.67 kB / 394.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.006907, allocations: 247.4 kB / 395.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.007136, allocations: 167.5 kB / 395.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.007185, allocations: 36 kB / 395.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.007721, allocations: 223.6 kB / 395.6 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.007785, allocations: 79.67 kB / 395.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.007908, allocations: 135.6 kB / 395.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.008536, allocations: 0.5646 MB / 396.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.008539, allocations: 0 / 396.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.008541, allocations: 0 / 396.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.008549, allocations: 0 / 396.4 MB, free: 0.6133 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00226/0.01081, allocations: 1.082 MB / 397.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.01085, allocations: 11.98 kB / 397.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.01092, allocations: 62.72 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.011, allocations: 48.66 kB / 397.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.01133, allocations: 264.6 kB / 397.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.01135, allocations: 25.03 kB / 397.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.01138, allocations: 28.38 kB / 397.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.01192, allocations: 0.6425 MB / 398.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01193, allocations: 192 / 398.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.01196, allocations: 12.38 kB / 398.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.01196, allocations: 16.11 kB / 398.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.01237, allocations: 426.4 kB / 399 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.01375, allocations: 1.073 MB / 400 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.01445, allocations: 0.5123 MB / 400.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.0147, allocations: 249.5 kB / 400.8 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.01475, allocations: 12.36 kB / 400.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01477, allocations: 42.88 kB / 400.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.774e-06/0.01477, allocations: 0 / 400.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002456/0.01723, allocations: 1.413 MB / 402.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01726, allocations: 55.41 kB / 402.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.01747, allocations: 269.9 kB / 402.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.0175, allocations: 33.7 kB / 402.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.01758, allocations: 165 kB / 402.8 MB, free: 9.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.01766, allocations: 162.6 kB / 402.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01777, allocations: 94.17 kB / 403 MB, free: 9.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.01787, allocations: 338.8 kB / 403.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.01813, allocations: 264.9 kB / 403.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.01838, allocations: 280.4 kB / 403.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.01895, allocations: 0.5885 MB / 404.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01895, allocations: 0 / 404.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001305/0.02026, allocations: 1.015 MB / 405.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.02028, allocations: 4 kB / 405.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.02028, allocations: 0 / 405.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009521/0.02123, allocations: 434.1 kB / 405.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.0214, allocations: 75.89 kB / 406 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.02579, allocations: 5.713 MB / 411.7 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.02597, allocations: 39.66 kB / 411.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.02599, allocations: 20 kB / 411.8 MB, free: 0.5859 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.02612, allocations: 161.8 kB / 411.9 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.02617, allocations: 39.7 kB / 412 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1344/0.1606, allocations: 0.9878 MB / 413 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1606, allocations: 5.281 kB / 413 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1606, allocations: 0 / 413 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1606, allocations: 4.75 kB / 413 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.161, allocations: 437.6 kB / 413.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.161, allocations: 0 / 413.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.1612, allocations: 59.25 kB / 413.4 MB, free: 33.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000933/0.1621, allocations: 422.3 kB / 413.9 MB, free: 33.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.1621, allocations: 12.02 kB / 413.9 MB, free: 33.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.1656, allocations: 5.649 MB / 419.5 MB, free: 28.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1656, allocations: 1.219 kB / 419.5 MB, free: 28.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.167, allocations: 1.014 MB / 420.5 MB, free: 28.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.1671, allocations: 45.25 kB / 420.6 MB, free: 28.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1671, allocations: 11.66 kB / 420.6 MB, free: 28.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1673, allocations: 30.47 kB / 420.6 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1674, allocations: 39.42 kB / 420.7 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1674, allocations: 15.55 kB / 420.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1676, allocations: 193.6 kB / 420.9 MB, free: 27.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1676, allocations: 2.109 kB / 420.9 MB, free: 27.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004767/0.168, allocations: 165.1 kB / 421 MB, free: 27.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/0.1695, allocations: 1.579 MB / 422.6 MB, free: 26.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1707, allocations: 1.053 MB / 423.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1707, allocations: 1.375 kB / 423.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.1714, allocations: 0.7329 MB / 424.4 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1717, allocations: 48.14 kB / 424.4 MB, free: 25.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.1768, allocations: 4.719 MB / 429.2 MB, free: 23.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.177, allocations: 194.4 kB / 429.4 MB, free: 23.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1771, allocations: 55.56 kB / 429.4 MB, free: 23.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1772, allocations: 113.6 kB / 429.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1772, allocations: 0 / 429.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.209, allocations: 14.3 MB / 443.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.299, allocations: 15.05 kB / 443.8 MB, free: 14.16 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.005890717729926] Failed to read output from testmodel.py, exit status != 0: 8.396154873073101 8.409803102 8.398844721 Calling exit ...