Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 189.3 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.2015/0.2015, allocations: 38.54 MB / 346.3 MB, free: 2.078 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4147, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005366/0.4201, allocations: 4.187 MB / 0.5371 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.4216, allocations: 0.9098 MB / 0.538 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.4218, allocations: 20.06 kB / 0.538 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.422, allocations: 47.69 kB / 0.5381 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.4224, allocations: 189.4 kB / 0.5383 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.4227, allocations: 94.88 kB / 0.5383 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.4231, allocations: 407.9 kB / 0.5387 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.4233, allocations: 66.28 kB / 0.5388 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.4235, allocations: 192 kB / 0.539 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.4239, allocations: 220.9 kB / 0.5392 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.4239, allocations: 20.41 kB / 0.5392 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.424, allocations: 20.47 kB / 0.5392 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.4241, allocations: 103.8 kB / 0.5393 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.4242, allocations: 153.9 kB / 0.5395 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.4246, allocations: 321.7 kB / 0.5398 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4246, allocations: 0 / 0.5398 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4246, allocations: 0 / 0.5398 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4246, allocations: 1.406 kB / 0.5398 GB, free: 0.7188 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001063/0.4257, allocations: 0.5479 MB / 0.5403 GB, free: 268 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4257, allocations: 9.469 kB / 0.5403 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.4258, allocations: 40.02 kB / 0.5404 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.4263, allocations: 283.7 kB / 0.5406 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.4263, allocations: 18.44 kB / 0.5407 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.4263, allocations: 26.72 kB / 0.5407 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.4269, allocations: 316.6 kB / 0.541 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4269, allocations: 0 / 0.541 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.4269, allocations: 7.375 kB / 0.541 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.4269, allocations: 5.531 kB / 0.541 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.4273, allocations: 220.3 kB / 0.5412 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.4294, allocations: 1.309 MB / 0.5425 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.4298, allocations: 143.4 kB / 0.5426 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4299, allocations: 61.62 kB / 0.5427 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.43, allocations: 1.25 kB / 0.5427 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.43, allocations: 31.72 kB / 0.5427 GB, free: 14.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.43, allocations: 0 / 0.5427 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008598/0.4308, allocations: 376.9 kB / 0.5431 GB, free: 14.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.4309, allocations: 82.48 kB / 0.5431 GB, free: 13.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.4312, allocations: 265.6 kB / 0.5434 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4312, allocations: 27.14 kB / 0.5434 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4314, allocations: 208.8 kB / 0.5436 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.4314, allocations: 46.33 kB / 0.5437 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.4315, allocations: 48.86 kB / 0.5437 GB, free: 13.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4317, allocations: 340.4 kB / 0.544 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.4318, allocations: 48.88 kB / 0.5441 GB, free: 13.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.432, allocations: 154.3 kB / 0.5442 GB, free: 12.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.4324, allocations: 237.1 kB / 0.5445 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4324, allocations: 3.906 kB / 0.5445 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000439/0.4329, allocations: 247.4 kB / 0.5447 GB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4329, allocations: 6.312 kB / 0.5447 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4329, allocations: 3.344 kB / 0.5447 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4329, allocations: 4.406 kB / 0.5447 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4331, allocations: 52.47 kB / 0.5448 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4331, allocations: 5.594 kB / 0.5448 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4333, allocations: 4.438 kB / 0.5448 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4333, allocations: 12.84 kB / 0.5448 GB, free: 12.57 MB / 398.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.4335, allocations: 162.9 kB / 0.5449 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.4336, allocations: 27.28 kB / 0.545 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.4341, allocations: 203.1 kB / 0.5452 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4341, allocations: 2.188 kB / 0.5452 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4341, allocations: 2.906 kB / 0.5452 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4341, allocations: 0 / 0.5452 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009617/0.4351, allocations: 0.5288 MB / 0.5457 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4351, allocations: 5 kB / 0.5457 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4353, allocations: 26.36 kB / 0.5457 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4353, allocations: 1.062 kB / 0.5457 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.4353, allocations: 6.359 kB / 0.5457 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.4353, allocations: 9.031 kB / 0.5457 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4353, allocations: 5.141 kB / 0.5457 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.4357, allocations: 301.5 kB / 0.546 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.4358, allocations: 18.77 kB / 0.546 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.4358, allocations: 6.281 kB / 0.546 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4359, allocations: 6.25 kB / 0.546 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.436, allocations: 7.391 kB / 0.5461 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.436, allocations: 12.73 kB / 0.5461 GB, free: 11.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.4362, allocations: 180.5 kB / 0.5462 GB, free: 11.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4362, allocations: 0 / 0.5462 GB, free: 11.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.4365, allocations: 57.31 kB / 0.5463 GB, free: 11.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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.0001253/0.4367, allocations: 95.75 kB / 0.5464 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.4371, allocations: 151.5 kB / 0.5465 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4371, allocations: 0 / 0.5465 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.4372, allocations: 74.17 kB / 0.5466 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.4377, allocations: 60 kB / 0.5467 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4388, allocations: 0.5353 MB / 0.5472 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.4394, allocations: 0.7873 MB / 0.548 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.4396, allocations: 47.91 kB / 0.548 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.4396, allocations: 21.69 kB / 0.548 GB, free: 10.03 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4396, allocations: 0 / 0.548 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Templates: time 0.007/0.4466, allocations: 2.397 MB / 0.5504 GB, free: 8.844 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.388852081261575] Failed to read output from testmodel.py, exit status != 0: 0.4557104120030999 0.471199873 0.043255034000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0361ff97b0>