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.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.0009847/0.0009847, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.00104/0.00104, allocations: 160.5 kB / 24.99 MB, free: 9.277 MB / 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2503/0.2503, allocations: 29.41 MB / 291.2 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.598e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004459/0.004485, allocations: 4.65 MB / 374.3 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.006326, allocations: 1.394 MB / 375.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.006532, allocations: 23.81 kB / 375.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.007158, allocations: 302.6 kB / 376 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.007649, allocations: 294.2 kB / 376.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.008218, allocations: 271.1 kB / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.008864, allocations: 0.6663 MB / 377.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.009187, allocations: 208.5 kB / 377.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.009685, allocations: 402.8 kB / 377.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.01011, allocations: 407 kB / 378.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.01017, allocations: 48 kB / 378.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.01049, allocations: 223.5 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.0107, allocations: 259.4 kB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.01087, allocations: 203.4 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.01149, allocations: 0.623 MB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.01149, allocations: 0 / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01149, allocations: 0 / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.0115, allocations: 0 / 379.5 MB, free: 1.352 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001086/0.01258, allocations: 0.92 MB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.01262, allocations: 11.98 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.01318, allocations: 184.4 kB / 380.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.01366, allocations: 382.6 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.01368, allocations: 29.38 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.01374, allocations: 48.34 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.01444, allocations: 0.6652 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.01446, allocations: 11.83 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.01449, allocations: 19.98 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.864e-05/0.01459, allocations: 64.95 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.01516, allocations: 463.3 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.01744, allocations: 2.732 MB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.01793, allocations: 384.4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.01819, allocations: 274 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.01822, allocations: 11.98 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.01825, allocations: 41.39 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.126e-06/0.01825, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0017/0.01995, allocations: 1.414 MB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.02002, allocations: 138.8 kB / 387.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.02024, allocations: 342.2 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.02027, allocations: 29.7 kB / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.0204, allocations: 319.8 kB / 388 MB, free: 8.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.02051, allocations: 194.3 kB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.02062, allocations: 111.8 kB / 388.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.02076, allocations: 0.5274 MB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.021, allocations: 254.7 kB / 389 MB, free: 7.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.02133, allocations: 456.4 kB / 389.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.02192, allocations: 0.7178 MB / 390.2 MB, free: 6.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02192, allocations: 8 kB / 390.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007822/0.0227, allocations: 0.7805 MB / 391 MB, free: 5.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.02276, allocations: 73.75 kB / 391.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02277, allocations: 4 kB / 391.1 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.02293, allocations: 35.67 kB / 391.1 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.02313, allocations: 91.75 kB / 391.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009248/0.02406, allocations: 1.803 MB / 393 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.02425, allocations: 39.94 kB / 393 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.02429, allocations: 31.98 kB / 393.1 MB, free: 3.059 MB / 362.7 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.0001844/0.02448, allocations: 250.1 kB / 393.3 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.02458, allocations: 71.64 kB / 393.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.02539, allocations: 0.7595 MB / 394.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.0254, allocations: 12 kB / 394.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.0254, allocations: 0 / 394.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.02541, allocations: 3.984 kB / 394.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.02673, allocations: 1.332 MB / 395.5 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.02673, allocations: 0 / 395.5 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.02688, allocations: 59.83 kB / 395.5 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.492e-05/0.02696, allocations: 31.67 kB / 395.6 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.02699, allocations: 15.98 kB / 395.6 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007907/0.02778, allocations: 1.811 MB / 397.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.02778, allocations: 4 kB / 397.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.02864, allocations: 0.9415 MB / 398.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.02877, allocations: 95.7 kB / 398.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.02881, allocations: 19.92 kB / 398.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.02895, allocations: 23.97 kB / 398.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.02906, allocations: 47.88 kB / 398.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.02909, allocations: 19.92 kB / 398.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.02921, allocations: 223 kB / 398.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02921, allocations: 0 / 398.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.02961, allocations: 143.9 kB / 398.9 MB, free: 12.92 MB / 378.7 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.0002199/0.02983, allocations: 147 kB / 399.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.03079, allocations: 0.962 MB / 400 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.03079, allocations: 4 kB / 400 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.03126, allocations: 0.6214 MB / 400.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.03162, allocations: 80.08 kB / 400.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.03331, allocations: 1.235 MB / 402 MB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.03342, allocations: 165.7 kB / 402.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.03358, allocations: 83.23 kB / 402.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.03365, allocations: 36.48 kB / 402.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.03366, allocations: 0 / 402.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of Templates: time 0.009217/0.04287, allocations: 6.227 MB / 408.5 MB, free: 3.273 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.268325380049646]