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.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.001594/0.001594, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001657/0.001657, allocations: 172.3 kB / 24.91 MB, free: 8.688 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.9689/0.9689, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2427/0.2427, allocations: 29.41 MB / 291.2 MB, free: 2.48 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 3.938 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.506e-05, allocations: 3.188 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003927/0.003942, allocations: 3.95 MB / 320.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.005058, allocations: 0.9157 MB / 321.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.005195, allocations: 15.88 kB / 321.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.005392, allocations: 47.56 kB / 321.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.005743, allocations: 182.8 kB / 322 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.005899, allocations: 91.73 kB / 322.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.006215, allocations: 418.4 kB / 322.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.006379, allocations: 80.64 kB / 322.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.006701, allocations: 271.2 kB / 322.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.006921, allocations: 171.5 kB / 323 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.006953, allocations: 20 kB / 323 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.006983, allocations: 23.94 kB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.007071, allocations: 115.6 kB / 323.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.007155, allocations: 95.77 kB / 323.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.007379, allocations: 235.1 kB / 323.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.007381, allocations: 0 / 323.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007381, allocations: 0 / 323.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.007385, allocations: 0 / 323.5 MB, free: 9.363 MB / 298.7 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.0005832/0.007968, allocations: 0.5158 MB / 324 MB, free: 8.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.008001, allocations: 15.98 kB / 324 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.008059, allocations: 32.91 kB / 324 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.008375, allocations: 272.6 kB / 324.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.008391, allocations: 16.88 kB / 324.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.008416, allocations: 24.38 kB / 324.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.008651, allocations: 227.2 kB / 324.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.008663, allocations: 3.938 kB / 324.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.008679, allocations: 8 kB / 324.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.008688, allocations: 7.938 kB / 324.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.008792, allocations: 86.22 kB / 324.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.00964, allocations: 1.096 MB / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.009809, allocations: 142.6 kB / 325.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.009845, allocations: 29.77 kB / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.009859, allocations: 3.938 kB / 325.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.00988, allocations: 38.55 kB / 326 MB, free: 6.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.009881, allocations: 0 / 326 MB, free: 6.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002504/0.01013, allocations: 126.6 kB / 326.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.01016, allocations: 81.11 kB / 326.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.01029, allocations: 250.9 kB / 326.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.0103, allocations: 25.7 kB / 326.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.01037, allocations: 192.6 kB / 326.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.0104, allocations: 43.61 kB / 326.7 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.01044, allocations: 49.64 kB / 326.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.01052, allocations: 334.8 kB / 327.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.01055, allocations: 26.67 kB / 327.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-05/0.01061, allocations: 106.4 kB / 327.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01073, allocations: 158.5 kB / 327.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01073, allocations: 0 / 327.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001428/0.01087, allocations: 154 kB / 327.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01088, allocations: 8 kB / 327.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01089, allocations: 4 kB / 327.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.0109, allocations: 4 kB / 327.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.01104, allocations: 54.7 kB / 327.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01104, allocations: 7.938 kB / 327.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.01112, allocations: 19.89 kB / 327.6 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.01113, allocations: 8.406 kB / 327.6 MB, free: 4.902 MB / 298.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 (24): * Single equations (assignments): 24 * 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 7.237e-05/0.0112, allocations: 124.7 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.01123, allocations: 23.86 kB / 327.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.01136, allocations: 115.3 kB / 327.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01137, allocations: 4 kB / 327.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01137, allocations: 0 / 327.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01137, allocations: 0 / 327.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.01152, allocations: 148.5 kB / 328 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01153, allocations: 4 kB / 328 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.01161, allocations: 31.91 kB / 328 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01161, allocations: 11.94 kB / 328 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01162, allocations: 4 kB / 328 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01162, allocations: 3.938 kB / 328.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01162, allocations: 4 kB / 328.1 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.01177, allocations: 239.1 kB / 328.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01179, allocations: 23.75 kB / 328.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01181, allocations: 11.94 kB / 328.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.01186, allocations: 0 / 328.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.01188, allocations: 11.98 kB / 328.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01189, allocations: 7.984 kB / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.01194, allocations: 84.64 kB / 328.4 MB, free: 4.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01194, allocations: 4 kB / 328.4 MB, free: 4.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.01213, allocations: 59.83 kB / 328.5 MB, free: 3.945 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * 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 7.668e-05/0.01221, allocations: 88.41 kB / 328.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.01233, allocations: 80.69 kB / 328.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.01233, allocations: 4.812 kB / 328.7 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.01238, allocations: 51.03 kB / 328.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01262, allocations: 57.98 kB / 328.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.01343, allocations: 0.5001 MB / 329.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.01348, allocations: 104.3 kB / 329.4 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.01356, allocations: 30.28 kB / 329.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01367, allocations: 99.34 kB / 329.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01367, allocations: 0 / 329.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of Templates: time 0.004196/0.01787, allocations: 2.467 MB / 332 MB, free: 476 kB / 298.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6692823017947376]