Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 114.9 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001933, allocations: 192 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1777/0.1777, allocations: 37.98 MB / 309.8 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 64.33 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2404, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004499/0.2449, allocations: 4.52 MB / 436.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2467, allocations: 1.45 MB / 438 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.2469, allocations: 15.94 kB / 438 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.2477, allocations: 302.5 kB / 438.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.2481, allocations: 274.7 kB / 438.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2486, allocations: 259.4 kB / 438.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.2491, allocations: 0.6587 MB / 439.5 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.2494, allocations: 248.3 kB / 439.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2497, allocations: 290.9 kB / 440 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.2501, allocations: 414.8 kB / 440.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.2502, allocations: 47.94 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.2505, allocations: 215.7 kB / 440.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.2506, allocations: 251.4 kB / 440.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.2509, allocations: 290.5 kB / 441.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.2514, allocations: 0.7515 MB / 442 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2514, allocations: 0 / 442 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2514, allocations: 0 / 442 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2514, allocations: 0 / 442 MB, free: 9.52 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001238/0.2527, allocations: 0.8845 MB / 442.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2527, allocations: 11.89 kB / 442.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.2532, allocations: 96.12 kB / 442.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.2538, allocations: 439.9 kB / 443.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.2538, allocations: 33.36 kB / 443.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.2539, allocations: 40.12 kB / 443.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008871/0.2548, allocations: 0.8668 MB / 444.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2548, allocations: 0 / 444.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.2549, allocations: 16 kB / 444.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.255, allocations: 60.95 kB / 444.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.2558, allocations: 0.7924 MB / 445.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.2584, allocations: 2.725 MB / 447.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.2591, allocations: 0.5759 MB / 448.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.2595, allocations: 458.7 kB / 448.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.2595, allocations: 4 kB / 448.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2595, allocations: 34.56 kB / 449 MB, free: 2.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 1.864e-06/0.2595, allocations: 0 / 449 MB, free: 2.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002161/0.2617, allocations: 1.891 MB / 450.9 MB, free: 268 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2618, allocations: 130.8 kB / 451 MB, free: 112 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.2621, allocations: 300.5 kB / 451.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.2622, allocations: 29.7 kB / 451.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.2623, allocations: 256.3 kB / 451.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2625, allocations: 185.3 kB / 451.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.2626, allocations: 102 kB / 451.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2628, allocations: 362.8 kB / 452.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.2632, allocations: 344.9 kB / 452.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.2638, allocations: 489.7 kB / 453 MB, free: 13.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2649, allocations: 0.9798 MB / 454 MB, free: 12.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2649, allocations: 0 / 454 MB, free: 12.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001341/0.2662, allocations: 0.9844 MB / 455 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.2663, allocations: 77.59 kB / 455.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2663, allocations: 4 kB / 455.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.2665, allocations: 45.39 kB / 455.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.2669, allocations: 87.83 kB / 455.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.2681, allocations: 1.555 MB / 456.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.2685, allocations: 31.97 kB / 456.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.2685, allocations: 31.98 kB / 456.8 MB, free: 9.965 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.2689, allocations: 295.2 kB / 457.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.269, allocations: 47.42 kB / 457.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2704, allocations: 1.084 MB / 458.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.2705, allocations: 12 kB / 458.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2705, allocations: 0 / 458.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2705, allocations: 3.984 kB / 458.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.2729, allocations: 1.788 MB / 460 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2729, allocations: 0 / 460 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.2732, allocations: 63.95 kB / 460.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.614e-05/0.2733, allocations: 32.84 kB / 460.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.2733, allocations: 15.98 kB / 460.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.2745, allocations: 1.559 MB / 461.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2745, allocations: 0 / 461.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.2759, allocations: 1.183 MB / 462.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.2761, allocations: 176.6 kB / 463 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.2762, allocations: 12 kB / 463.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2765, allocations: 23.97 kB / 463.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2766, allocations: 43.89 kB / 463.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.2767, allocations: 19.98 kB / 463.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.2768, allocations: 203.1 kB / 463.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2768, allocations: 4 kB / 463.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.2774, allocations: 140 kB / 463.5 MB, free: 2.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002488/0.2776, allocations: 147 kB / 463.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.2793, allocations: 1.374 MB / 465 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2793, allocations: 0 / 465 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2804, allocations: 0.9279 MB / 465.9 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.281, allocations: 73.62 kB / 466 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.283, allocations: 1.376 MB / 467.4 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.2837, allocations: 0.9054 MB / 468.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004013/0.2841, allocations: 103.2 kB / 468.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2843, allocations: 27.44 kB / 468.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2843, allocations: 0 / 468.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01156/0.2959, allocations: 6.017 MB / 474.4 MB, free: 7.934 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)