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.001407/0.001407, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001204/0.001204, allocations: 168 kB / 24.82 MB, free: 9.262 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2537/0.2537, allocations: 29.41 MB / 291.2 MB, free: 2.438 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.603e-06/1.603e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.537e-05, allocations: 6.25 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004883/0.004908, allocations: 4.33 MB / 374.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.007047, allocations: 1.383 MB / 375.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.007342, allocations: 23.81 kB / 375.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.007884, allocations: 159 kB / 376 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.008435, allocations: 290.3 kB / 376.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.009073, allocations: 267.2 kB / 376.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007187/0.009792, allocations: 0.6701 MB / 377.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.01013, allocations: 208.5 kB / 377.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006183/0.01075, allocations: 418.8 kB / 377.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.01131, allocations: 395 kB / 378.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.01144, allocations: 44 kB / 378.2 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.01186, allocations: 219.6 kB / 378.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.01206, allocations: 263.3 kB / 378.7 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.01223, allocations: 199.5 kB / 378.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.0129, allocations: 0.6191 MB / 379.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0129, allocations: 0 / 379.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01291, allocations: 0 / 379.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.01292, allocations: 0 / 379.5 MB, free: 1.23 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.001125/0.01404, allocations: 0.881 MB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.0141, allocations: 19.97 kB / 380.4 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.0146, allocations: 148.4 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.0153, allocations: 369.6 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.01533, allocations: 25.38 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.01538, allocations: 48.3 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.01595, allocations: 0.5831 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.01597, allocations: 7.891 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.016, allocations: 16 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/0.01608, allocations: 56.97 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.01647, allocations: 352.3 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.0186, allocations: 2.658 MB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.01897, allocations: 312.4 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.01914, allocations: 210.1 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.01917, allocations: 7.984 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.0192, allocations: 45.33 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.485e-06/0.0192, allocations: 0 / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001272/0.02047, allocations: 1.044 MB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.02053, allocations: 142.9 kB / 386.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.02073, allocations: 338 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.02075, allocations: 37.64 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.02089, allocations: 311.7 kB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.021, allocations: 202.3 kB / 387.3 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02111, allocations: 111.7 kB / 387.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004062/0.02152, allocations: 0.5312 MB / 387.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.02167, allocations: 182.8 kB / 388.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.0219, allocations: 377.5 kB / 388.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.02233, allocations: 0.5966 MB / 389.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.02234, allocations: 4 kB / 389.1 MB, free: 7.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006225/0.02296, allocations: 0.6436 MB / 389.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.02302, allocations: 72.16 kB / 389.8 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.02303, allocations: 4 kB / 389.8 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.02316, allocations: 31.67 kB / 389.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.02334, allocations: 79.89 kB / 389.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008652/0.0242, allocations: 1.788 MB / 391.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.02439, allocations: 16 kB / 391.7 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.02443, allocations: 27.98 kB / 391.7 MB, free: 4.27 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.0001902/0.02462, allocations: 250.1 kB / 392 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.02472, allocations: 71.64 kB / 392.1 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.02534, allocations: 0.6345 MB / 392.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.02536, allocations: 8 kB / 392.7 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.02536, allocations: 4 kB / 392.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02537, allocations: 0 / 392.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.02641, allocations: 1.114 MB / 393.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.02642, allocations: 0 / 393.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.02655, allocations: 51.91 kB / 393.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-05/0.02663, allocations: 27.67 kB / 393.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.02665, allocations: 16 kB / 393.9 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.02769, allocations: 1.784 MB / 395.7 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.02769, allocations: 0 / 395.7 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.02836, allocations: 0.8165 MB / 396.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.02848, allocations: 79.67 kB / 396.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.02851, allocations: 11.98 kB / 396.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.02863, allocations: 16.03 kB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.02871, allocations: 43.88 kB / 396.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.02874, allocations: 12 kB / 396.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.02885, allocations: 214.9 kB / 396.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02885, allocations: 0 / 396.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.02925, allocations: 147.9 kB / 397 MB, free: 14.71 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.0002023/0.02946, allocations: 154.3 kB / 397.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.03018, allocations: 0.8245 MB / 398 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03018, allocations: 0 / 398 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.03057, allocations: 0.5562 MB / 398.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.03094, allocations: 80.92 kB / 398.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.03251, allocations: 1.157 MB / 399.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.03262, allocations: 165.7 kB / 399.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.03275, allocations: 39.31 kB / 400 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.033, allocations: 166.1 kB / 400.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03301, allocations: 0 / 400.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of Templates: time 0.009221/0.04223, allocations: 6.645 MB / 406.8 MB, free: 4.844 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.238793047145009]