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.0006781/0.0006781, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009232/0.001601, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006815/0.0006815, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009557/0.001637, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9253/0.9253, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09065/1.016, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1475/0.1475, allocations: 29.42 MB / 273.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/0.274, allocations: 9.53 MB / 283.1 MB, free: 12.82 MB / 282.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.253e-06/1.253e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.47e-05, allocations: 3.625 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004016/0.004031, allocations: 3.996 MB / 288.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.005321, allocations: 0.9145 MB / 289.3 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.005488, allocations: 19.56 kB / 289.4 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.00562, allocations: 47.81 kB / 289.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.00597, allocations: 181.8 kB / 289.6 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.006169, allocations: 91.98 kB / 289.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.006589, allocations: 420.7 kB / 290.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.006767, allocations: 77.28 kB / 290.2 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.007183, allocations: 281.1 kB / 290.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.007431, allocations: 174.8 kB / 290.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.00747, allocations: 20.62 kB / 290.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.64e-05/0.007517, allocations: 19.25 kB / 290.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.007605, allocations: 100.1 kB / 290.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.007694, allocations: 81.94 kB / 290.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.00796, allocations: 214.4 kB / 291 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.007969, allocations: 1.375 kB / 291 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00797, allocations: 0 / 291 MB, free: 6.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.007984, allocations: 0 / 291 MB, free: 6.992 MB / 282.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.0007134/0.008697, allocations: 0.5796 MB / 291.6 MB, free: 6.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.008731, allocations: 9.969 kB / 291.6 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.008801, allocations: 35 kB / 291.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.009111, allocations: 268.5 kB / 291.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.009129, allocations: 17.56 kB / 291.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.009161, allocations: 22.47 kB / 292 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.009397, allocations: 227 kB / 292.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.009407, allocations: 3.938 kB / 292.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.009423, allocations: 7.688 kB / 292.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.009432, allocations: 5.875 kB / 292.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.009544, allocations: 92.25 kB / 292.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01067, allocations: 1.088 MB / 293.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.01091, allocations: 143.3 kB / 293.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.01094, allocations: 23.91 kB / 293.5 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01096, allocations: 7.062 kB / 293.5 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.01098, allocations: 31.84 kB / 293.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.01099, allocations: 1.312 kB / 293.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002955/0.01128, allocations: 146 kB / 293.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01132, allocations: 83.48 kB / 293.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.01148, allocations: 251.5 kB / 294 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.01149, allocations: 27.83 kB / 294.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.01156, allocations: 186.9 kB / 294.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.01159, allocations: 41.64 kB / 294.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.01164, allocations: 43.86 kB / 294.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.01172, allocations: 332.8 kB / 294.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.01175, allocations: 23.16 kB / 294.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.01182, allocations: 121.6 kB / 294.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.01195, allocations: 166.7 kB / 295 MB, free: 3.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01195, allocations: 1.219 kB / 295 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001548/0.0121, allocations: 153.6 kB / 295.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01212, allocations: 6.938 kB / 295.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01212, allocations: 3.781 kB / 295.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01214, allocations: 4.531 kB / 295.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.01229, allocations: 57.59 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.0123, allocations: 3.562 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.01236, allocations: 23.66 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01237, allocations: 11.94 kB / 295.2 MB, free: 3.512 MB / 282.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.594e-05/0.01245, allocations: 131.7 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.01248, allocations: 20.98 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.01262, allocations: 115.3 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01262, allocations: 3.938 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01263, allocations: 0 / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01263, allocations: 0 / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.01279, allocations: 156.5 kB / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01279, allocations: 0 / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.01288, allocations: 37.11 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.01291, allocations: 27.73 kB / 295.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01291, allocations: 0 / 295.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.01291, allocations: 4 kB / 295.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01292, allocations: 3.938 kB / 295.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01292, allocations: 3.984 kB / 295.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.01306, allocations: 236.9 kB / 295.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01308, allocations: 7.938 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.01313, allocations: 7.984 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.01315, allocations: 7.984 kB / 296 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01316, allocations: 4 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.01322, allocations: 88.64 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01322, allocations: 0 / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01341, allocations: 63.84 kB / 296.1 MB, free: 2.559 MB / 282.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 8.741e-05/0.0135, allocations: 84.3 kB / 296.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.01364, allocations: 93.55 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.01365, allocations: 0 / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.01371, allocations: 57.05 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.0141, allocations: 499.8 kB / 296.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.01757, allocations: 0.5105 MB / 297.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.01764, allocations: 100.2 kB / 297.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.64e-05/0.01772, allocations: 34.28 kB / 297.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.01784, allocations: 99.33 kB / 297.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01784, allocations: 0 / 297.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of Templates: time 0.004344/0.02219, allocations: 2.452 MB / 300 MB, free: 14.57 MB / 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6196183739230037]