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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001625/0.001626, allocations: 110.3 kB / 17.74 MB, free: 5.336 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.001767/0.001767, allocations: 185.4 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.02 MB / 330.6 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2845, allocations: 58.06 MB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005313/0.2898, allocations: 4.511 MB / 0.5092 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2921, allocations: 1.405 MB / 0.5105 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.2924, allocations: 16.84 kB / 0.5105 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00086/0.2933, allocations: 287.5 kB / 0.5108 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.2939, allocations: 289.7 kB / 0.5111 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.2946, allocations: 252.1 kB / 0.5113 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000754/0.2954, allocations: 0.6658 MB / 0.512 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.2958, allocations: 247.7 kB / 0.5122 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.2962, allocations: 301.2 kB / 0.5125 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.2968, allocations: 412.9 kB / 0.5129 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.2969, allocations: 44.47 kB / 0.513 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.2973, allocations: 221.7 kB / 0.5132 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.2976, allocations: 249.7 kB / 0.5134 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.2979, allocations: 288.6 kB / 0.5137 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000846/0.2988, allocations: 0.7562 MB / 0.5144 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2988, allocations: 9.031 kB / 0.5144 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2988, allocations: 0 / 0.5144 GB, free: 2.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.2988, allocations: 0 / 0.5144 GB, free: 2.031 MB / 382.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.001466/0.3003, allocations: 0.8765 MB / 0.5153 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3003, allocations: 14.02 kB / 0.5153 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.3009, allocations: 92.22 kB / 0.5154 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.3016, allocations: 444.9 kB / 0.5158 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.3017, allocations: 34.81 kB / 0.5158 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/0.3018, allocations: 38.69 kB / 0.5159 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3031, allocations: 0.8655 MB / 0.5167 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3032, allocations: 5.625 kB / 0.5167 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.3032, allocations: 13.62 kB / 0.5167 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.3034, allocations: 63.67 kB / 0.5168 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3047, allocations: 0.7942 MB / 0.5176 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.3086, allocations: 2.721 MB / 0.5202 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009288/0.3096, allocations: 0.5772 MB / 0.5208 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.3102, allocations: 455.8 kB / 0.5212 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.3102, allocations: 6.125 kB / 0.5212 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3103, allocations: 41.97 kB / 0.5213 GB, free: 14.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.085e-06/0.3103, allocations: 0 / 0.5213 GB, free: 14.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003059/0.3133, allocations: 1.88 MB / 0.5231 GB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.868e-05/0.3134, allocations: 139.8 kB / 0.5232 GB, free: 13.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.3138, allocations: 302.7 kB / 0.5235 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.3138, allocations: 32.45 kB / 0.5236 GB, free: 12.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.314, allocations: 254.6 kB / 0.5238 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3142, allocations: 187.1 kB / 0.524 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.3143, allocations: 102.1 kB / 0.5241 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3145, allocations: 354.8 kB / 0.5244 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.315, allocations: 344.6 kB / 0.5247 GB, free: 12.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.3155, allocations: 486.2 kB / 0.5252 GB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3167, allocations: 0.9852 MB / 0.5262 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3168, allocations: 1.125 kB / 0.5262 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001491/0.3183, allocations: 0.9797 MB / 0.5271 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.3184, allocations: 74.17 kB / 0.5272 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3184, allocations: 7.781 kB / 0.5272 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.3186, allocations: 45.72 kB / 0.5273 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.319, allocations: 82.19 kB / 0.5273 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3203, allocations: 1.548 MB / 0.5288 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.3207, allocations: 34.81 kB / 0.5289 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.3208, allocations: 26.33 kB / 0.5289 GB, free: 9.387 MB / 398.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.0004372/0.3212, allocations: 314.7 kB / 0.5292 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3213, allocations: 45.02 kB / 0.5292 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.323, allocations: 1.077 MB / 0.5303 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.323, allocations: 6.438 kB / 0.5303 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3231, allocations: 2.219 kB / 0.5303 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.3234, allocations: 176.5 kB / 0.5305 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.3234, allocations: 12.08 kB / 0.5305 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3237, allocations: 26.2 kB / 0.5305 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3239, allocations: 42.11 kB / 0.5306 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001945/0.3258, allocations: 1.378 MB / 0.5319 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002307/0.3282, allocations: 1.84 MB / 0.5337 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007622/0.3289, allocations: 0.6276 MB / 0.5343 GB, free: 6.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.3292, allocations: 203.2 kB / 0.5345 GB, free: 6.645 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.3292, allocations: 0 / 0.5345 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.3312, allocations: 1.16 MB / 0.5356 GB, free: 5.914 MB / 398.1 MB Notification: Performance of SimCode: time 0.001869/0.3331, allocations: 1.482 MB / 0.5371 GB, free: 4.805 MB / 398.1 MB Notification: Performance of Templates: time 0.01268/0.3458, allocations: 7.454 MB / 0.5444 GB, free: 15.21 MB / 414.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)