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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001714/0.001713, allocations: 190 kB / 8.133 MB, free: 2.078 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.087/1.087, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001719/0.001719, allocations: 118.3 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1643/0.1643, allocations: 37.91 MB / 330.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.42e-06, allocations: 0 / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06986/0.06988, allocations: 53.23 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.3054, allocations: 88.64 MB / 0.5192 GB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3057, allocations: 87.41 kB / 0.5193 GB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01813/0.3238, allocations: 6.267 MB / 0.5254 GB, free: 8.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.3239, allocations: 5.688 kB / 0.5254 GB, free: 8.102 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.0008296/0.3247, allocations: 0.55 MB / 0.5259 GB, free: 7.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3247, allocations: 8.719 kB / 0.526 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.3249, allocations: 39.44 kB / 0.526 GB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3263, allocations: 0.5941 MB / 0.5266 GB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3263, allocations: 10.91 kB / 0.5266 GB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.3263, allocations: 12.62 kB / 0.5266 GB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003689/0.3267, allocations: 197.1 kB / 0.5268 GB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.3271, allocations: 288.2 kB / 0.5271 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3271, allocations: 1.781 kB / 0.5271 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.3272, allocations: 0 / 0.5271 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3272, allocations: 6.5 kB / 0.5271 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3286, allocations: 1.297 MB / 0.5283 GB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3289, allocations: 135.2 kB / 0.5285 GB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.329, allocations: 61.62 kB / 0.5285 GB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.329, allocations: 2.422 kB / 0.5285 GB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3291, allocations: 35.97 kB / 0.5286 GB, free: 5.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.3291, allocations: 224 / 0.5286 GB, free: 5.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006093/0.3297, allocations: 299.1 kB / 0.5288 GB, free: 5.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.3297, allocations: 82.14 kB / 0.5289 GB, free: 5.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.3299, allocations: 219.8 kB / 0.5291 GB, free: 5.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.33, allocations: 25.7 kB / 0.5292 GB, free: 5.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.33, allocations: 175.4 kB / 0.5293 GB, free: 5.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.3301, allocations: 41.86 kB / 0.5294 GB, free: 5.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.3301, allocations: 4.031 kB / 0.5294 GB, free: 5.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.3301, allocations: 339.6 kB / 0.5297 GB, free: 5.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.3302, allocations: 49.17 kB / 0.5297 GB, free: 5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3304, allocations: 149.5 kB / 0.5299 GB, free: 4.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3305, allocations: 78.8 kB / 0.53 GB, free: 4.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3305, allocations: 1.188 kB / 0.53 GB, free: 4.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003188/0.3308, allocations: 213.3 kB / 0.5302 GB, free: 4.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3308, allocations: 11.94 kB / 0.5302 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3309, allocations: 4 kB / 0.5302 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3309, allocations: 5.344 kB / 0.5302 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3311, allocations: 50.59 kB / 0.5302 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3311, allocations: 5.094 kB / 0.5302 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3313, allocations: 7.625 kB / 0.5302 GB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3313, allocations: 12.92 kB / 0.5303 GB, free: 4.734 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.3314, allocations: 111.4 kB / 0.5304 GB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.3314, allocations: 29.75 kB / 0.5304 GB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.3317, allocations: 181.9 kB / 0.5306 GB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3317, allocations: 2.594 kB / 0.5306 GB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3318, allocations: 7.891 kB / 0.5306 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3318, allocations: 5.125 kB / 0.5306 GB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.3323, allocations: 0.4996 MB / 0.5311 GB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3323, allocations: 3.906 kB / 0.5311 GB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3325, allocations: 37.42 kB / 0.5311 GB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3325, allocations: 6.453 kB / 0.5311 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3325, allocations: 1.156 kB / 0.5311 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3325, allocations: 1.188 kB / 0.5311 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3325, allocations: 1.156 kB / 0.5311 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002636/0.3328, allocations: 308.4 kB / 0.5314 GB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3329, allocations: 98.69 kB / 0.5315 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3329, allocations: 2.031 kB / 0.5315 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3331, allocations: 5.062 kB / 0.5315 GB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3331, allocations: 11.92 kB / 0.5315 GB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3331, allocations: 8.625 kB / 0.5315 GB, free: 3.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001268/0.3333, allocations: 169.3 kB / 0.5317 GB, free: 3.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.3337, allocations: 56 kB / 0.5317 GB, free: 3.734 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.3338, allocations: 111.4 kB / 0.5318 GB, free: 3.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3341, allocations: 139.5 kB / 0.532 GB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3341, allocations: 0 / 0.532 GB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3342, allocations: 76.41 kB / 0.5321 GB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3346, allocations: 52.27 kB / 0.5321 GB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.3353, allocations: 339.3 kB / 0.5324 GB, free: 3.391 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.3356, allocations: 0.8169 MB / 0.5332 GB, free: 2.633 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3356, allocations: 0 / 0.5332 GB, free: 2.633 MB / 346.7 MB Notification: Performance of Templates: time 0.005526/0.3411, allocations: 2.235 MB / 0.5354 GB, free: 1.531 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (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)