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.001495/0.001495, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001552/0.001552, allocations: 161.7 kB / 24.27 MB, free: 172 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.488/1.488, 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.3081/0.3081, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.623e-06/1.623e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.663e-05, allocations: 6.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006533/0.00656, allocations: 3.992 MB / 372.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.008361, allocations: 0.857 MB / 373.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.008517, allocations: 15.81 kB / 373.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.008754, allocations: 55.5 kB / 373.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.009297, allocations: 190.8 kB / 374 MB, free: 6.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.009547, allocations: 91.75 kB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.01007, allocations: 414.4 kB / 374.5 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.01026, allocations: 66.7 kB / 374.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.01073, allocations: 259.2 kB / 374.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.01108, allocations: 187.5 kB / 375 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.01113, allocations: 20 kB / 375 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.01119, allocations: 27.94 kB / 375 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.01135, allocations: 123.6 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.01151, allocations: 91.77 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.01196, allocations: 315 kB / 375.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01196, allocations: 0 / 375.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01196, allocations: 4 kB / 375.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.01197, allocations: 0 / 375.6 MB, free: 4.59 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.001229/0.0132, allocations: 0.5605 MB / 376.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.01324, allocations: 15.97 kB / 376.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.01336, allocations: 52.7 kB / 376.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.0139, allocations: 289.1 kB / 376.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.01393, allocations: 12.88 kB / 376.5 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.01398, allocations: 28.36 kB / 376.5 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.01455, allocations: 316.4 kB / 376.8 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01457, allocations: 7.875 kB / 376.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.0146, allocations: 12 kB / 376.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.01461, allocations: 4 kB / 376.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.01501, allocations: 217.8 kB / 377.1 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.01679, allocations: 1.217 MB / 378.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.01717, allocations: 145.2 kB / 378.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.01729, allocations: 61.62 kB / 378.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.01731, allocations: 4.219 kB / 378.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.01735, allocations: 38.5 kB / 378.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.01735, allocations: 0 / 378.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008704/0.01822, allocations: 379.9 kB / 378.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.01829, allocations: 85.05 kB / 379 MB, free: 0.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.01883, allocations: 264.1 kB / 379.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01886, allocations: 29.7 kB / 379.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.01903, allocations: 200.1 kB / 379.5 MB, free: 460 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.01909, allocations: 51.56 kB / 379.5 MB, free: 408 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/0.01917, allocations: 49.81 kB / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.01937, allocations: 338.8 kB / 379.9 MB, free: 4 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.01949, allocations: 55.91 kB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.01969, allocations: 151.9 kB / 380.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.02004, allocations: 228.6 kB / 380.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.02004, allocations: 0 / 380.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000452/0.02049, allocations: 265.2 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.02051, allocations: 4 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.02051, allocations: 4 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.02054, allocations: 7.984 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.02074, allocations: 47.92 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.02076, allocations: 15.92 kB / 380.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.02089, allocations: 8 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.02091, allocations: 8 kB / 380.7 MB, free: 15.13 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.0001875/0.02109, allocations: 162 kB / 380.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.02116, allocations: 31.8 kB / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.02154, allocations: 191.3 kB / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.02155, allocations: 4 kB / 381 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.02155, allocations: 0 / 381 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02156, allocations: 3.984 kB / 381 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.02231, allocations: 490.7 kB / 381.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02231, allocations: 0 / 381.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.02246, allocations: 27.92 kB / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.02246, allocations: 7.984 kB / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.02248, allocations: 8.031 kB / 381.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.02248, allocations: 7.984 kB / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02249, allocations: 0 / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.02288, allocations: 288.9 kB / 381.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.02292, allocations: 27.8 kB / 381.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.02296, allocations: 8 kB / 381.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.02308, allocations: 0 / 381.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.02312, allocations: 15.92 kB / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.02314, allocations: 7.984 kB / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.02335, allocations: 187.1 kB / 382.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02335, allocations: 0 / 382.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.02368, allocations: 52 kB / 382.2 MB, free: 13.57 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.0001247/0.02381, allocations: 99.19 kB / 382.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.02412, allocations: 158.3 kB / 382.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02412, allocations: 0 / 382.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.02425, allocations: 72.77 kB / 382.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.02473, allocations: 59.61 kB / 382.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.02569, allocations: 0.5067 MB / 383 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.02592, allocations: 182.1 kB / 383.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.02607, allocations: 42.27 kB / 383.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.02615, allocations: 24.5 kB / 383.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02615, allocations: 0 / 383.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006505/0.03266, allocations: 2.252 MB / 385.5 MB, free: 10.19 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.526137609034777]