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.001678/0.001678, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001704/0.001704, allocations: 161 kB / 24.56 MB, free: 16 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 0.9647/0.9647, allocations: 177.1 MB / 205 MB, free: 5.605 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.2497/0.2497, allocations: 29.42 MB / 290.9 MB, free: 2.512 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.573e-06/1.573e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.925e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004974/0.005004, allocations: 3.897 MB / 373.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.006984, allocations: 0.8997 MB / 374.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.007211, allocations: 19.81 kB / 374.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.00745, allocations: 43.62 kB / 374.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.008025, allocations: 194.8 kB / 374.7 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.008323, allocations: 91.75 kB / 374.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.008806, allocations: 414.4 kB / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.009046, allocations: 66.7 kB / 375.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.009641, allocations: 275.2 kB / 375.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.01, allocations: 183.5 kB / 375.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.01005, allocations: 20 kB / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.0101, allocations: 20 kB / 375.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01023, allocations: 111.7 kB / 375.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.01034, allocations: 99.75 kB / 375.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.01068, allocations: 235.1 kB / 376.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.01069, allocations: 0 / 376.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.01069, allocations: 3.938 kB / 376.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.0107, allocations: 0 / 376.2 MB, free: 4.43 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.0008896/0.01159, allocations: 0.6488 MB / 376.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/0.01166, allocations: 11.98 kB / 376.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.01174, allocations: 56.7 kB / 376.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.01209, allocations: 287.3 kB / 377.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.01212, allocations: 24.8 kB / 377.2 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.01215, allocations: 24.38 kB / 377.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.01247, allocations: 251 kB / 377.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01248, allocations: 3.938 kB / 377.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.01251, allocations: 12 kB / 377.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.01252, allocations: 8 kB / 377.5 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.01268, allocations: 102.8 kB / 377.6 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01393, allocations: 1.497 MB / 379.1 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.0142, allocations: 118.2 kB / 379.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.01425, allocations: 43.3 kB / 379.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.01427, allocations: 4 kB / 379.2 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.0143, allocations: 33.39 kB / 379.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.0143, allocations: 0 / 379.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006328/0.01493, allocations: 283.8 kB / 379.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.01498, allocations: 77.11 kB / 379.6 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.01518, allocations: 314.2 kB / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.0152, allocations: 25.83 kB / 380 MB, free: 368 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01533, allocations: 258.8 kB / 380.2 MB, free: 104 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.01537, allocations: 51.56 kB / 380.3 MB, free: 52 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.01544, allocations: 47.36 kB / 380.3 MB, free: 16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.01562, allocations: 0.5079 MB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.01567, allocations: 23.92 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.01579, allocations: 163.2 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.01627, allocations: 211 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01627, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002223/0.01649, allocations: 213 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01651, allocations: 4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01651, allocations: 4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.01653, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.01665, allocations: 47.91 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.01666, allocations: 12.42 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.01673, allocations: 16 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01674, allocations: 8 kB / 381.5 MB, free: 14.65 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 9.531e-05/0.01684, allocations: 168.5 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.01687, allocations: 31.8 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.01707, allocations: 154.8 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01707, allocations: 0 / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01708, allocations: 7.938 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01709, allocations: 0 / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.01753, allocations: 476.9 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01754, allocations: 4.031 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.01763, allocations: 31.92 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01763, allocations: 0 / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01764, allocations: 4 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01765, allocations: 4 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01765, allocations: 0 / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01788, allocations: 306.9 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.01791, allocations: 23.81 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01793, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.01799, allocations: 4 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.01802, allocations: 15.97 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01804, allocations: 12 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.01815, allocations: 207 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01815, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.01838, allocations: 48 kB / 383 MB, free: 13.09 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.000108/0.01848, allocations: 103.1 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.01868, allocations: 112.3 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01868, allocations: 4 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.01874, allocations: 51.55 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.01907, allocations: 66.45 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.02005, allocations: 0.5021 MB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.02011, allocations: 100.3 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.02022, allocations: 42.25 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.02027, allocations: 28.48 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02027, allocations: 0 / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Templates: time 0.004473/0.02474, allocations: 2.379 MB / 386.4 MB, free: 9.703 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: 2.9267130699008703]