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.002525/0.002525, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002807/0.002807, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3551/0.3551, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.423e-06/1.423e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.442e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006606/0.00664, allocations: 4.132 MB / 373 MB, free: 7.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.008355, allocations: 0.8803 MB / 373.9 MB, free: 6.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.008521, allocations: 19.81 kB / 373.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.008737, allocations: 47.5 kB / 374 MB, free: 6.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.009279, allocations: 202.8 kB / 374.2 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.009519, allocations: 83.77 kB / 374.2 MB, free: 5.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.01003, allocations: 414.4 kB / 374.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.01024, allocations: 78.62 kB / 374.7 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.0107, allocations: 255.2 kB / 375 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.01107, allocations: 187.5 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.01113, allocations: 20 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.0112, allocations: 27.94 kB / 375.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.01137, allocations: 115.6 kB / 375.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.01153, allocations: 99.75 kB / 375.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.01199, allocations: 311 kB / 375.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01199, allocations: 0 / 375.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01199, allocations: 0 / 375.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.012, allocations: 0 / 375.7 MB, free: 4.453 MB / 346.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.001218/0.01321, allocations: 0.6757 MB / 376.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.01326, allocations: 11.98 kB / 376.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.01338, allocations: 60.64 kB / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.01395, allocations: 298.5 kB / 376.8 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.01399, allocations: 16.88 kB / 376.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.01403, allocations: 24.38 kB / 376.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.01451, allocations: 275 kB / 377.1 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01452, allocations: 3.938 kB / 377.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.01455, allocations: 12 kB / 377.1 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01456, allocations: 4 kB / 377.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.01507, allocations: 129.8 kB / 377.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.01704, allocations: 1.556 MB / 378.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.01741, allocations: 134.1 kB / 378.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.01751, allocations: 47.36 kB / 378.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.01754, allocations: 4.219 kB / 378.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.01757, allocations: 37.33 kB / 379 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.01757, allocations: 0 / 379 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007988/0.01837, allocations: 308 kB / 379.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.01844, allocations: 85.03 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.01882, allocations: 354.2 kB / 379.7 MB, free: 184 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.01884, allocations: 29.83 kB / 379.7 MB, free: 148 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.01906, allocations: 258.8 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.01912, allocations: 51.58 kB / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01922, allocations: 51.36 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.01953, allocations: 0.5196 MB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.01962, allocations: 39.91 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.01984, allocations: 178.2 kB / 380.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.02017, allocations: 231 kB / 381.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02017, allocations: 0 / 381.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003856/0.02056, allocations: 229 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.02057, allocations: 8 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.02058, allocations: 4 kB / 381.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.0206, allocations: 4 kB / 381.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.0208, allocations: 51.91 kB / 381.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.02081, allocations: 4.438 kB / 381.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.02094, allocations: 19.94 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.02096, allocations: 8 kB / 381.4 MB, free: 14.36 MB / 362.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 (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.0001883/0.02115, allocations: 180.5 kB / 381.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.02121, allocations: 31.8 kB / 381.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.02154, allocations: 155.4 kB / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.02155, allocations: 0 / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.02155, allocations: 0 / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.02155, allocations: 0 / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.02237, allocations: 0.5242 MB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02237, allocations: 4.031 kB / 382.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.02252, allocations: 31.98 kB / 382.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02253, allocations: 0 / 382.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.02254, allocations: 0 / 382.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.02255, allocations: 7.938 kB / 382.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02255, allocations: 0 / 382.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.02293, allocations: 319 kB / 382.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.02298, allocations: 31.81 kB / 382.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.02302, allocations: 3.984 kB / 382.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.02314, allocations: 8 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.02319, allocations: 7.984 kB / 382.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.0232, allocations: 8 kB / 382.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.02343, allocations: 227 kB / 382.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02343, allocations: 3.938 kB / 382.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.02379, allocations: 56 kB / 383 MB, free: 12.68 MB / 362.7 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.0001325/0.02393, allocations: 99.12 kB / 383 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.02422, allocations: 138.8 kB / 383.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.02423, allocations: 4.062 kB / 383.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.02435, allocations: 67.58 kB / 383.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.02484, allocations: 66.36 kB / 383.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.02578, allocations: 0.4937 MB / 383.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.02599, allocations: 170.3 kB / 384 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.02613, allocations: 46.25 kB / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.0262, allocations: 20.5 kB / 384 MB, free: 11.53 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0262, allocations: 0 / 384 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Templates: time 0.006853/0.03305, allocations: 2.254 MB / 386.3 MB, free: 9.324 MB / 362.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.832704190979712]