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.001627/0.001627, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001241/0.001241, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.617 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.2322/0.2322, allocations: 29.41 MB / 290.9 MB, free: 2.52 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.533e-06/1.533e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.841e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00438/0.004409, allocations: 4.365 MB / 374 MB, free: 6.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.006625, allocations: 1.398 MB / 375.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.00688, allocations: 19.81 kB / 375.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.007448, allocations: 159 kB / 375.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005589/0.008007, allocations: 294.3 kB / 375.9 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.008632, allocations: 259.3 kB / 376.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007123/0.009344, allocations: 0.6701 MB / 376.8 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/0.00984, allocations: 208.5 kB / 377 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009467/0.01079, allocations: 398.9 kB / 377.4 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.01143, allocations: 411 kB / 377.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.743e-05/0.01151, allocations: 44 kB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.01192, allocations: 223.5 kB / 378 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.01214, allocations: 267.3 kB / 378.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.01235, allocations: 199.5 kB / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007959/0.01314, allocations: 0.6191 MB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.01315, allocations: 0 / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01315, allocations: 0 / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.01316, allocations: 0 / 379.1 MB, free: 1.484 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.001173/0.01433, allocations: 0.924 MB / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.01438, allocations: 11.98 kB / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.01496, allocations: 184.3 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.0156, allocations: 386.7 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.01562, allocations: 29.28 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.01569, allocations: 36.38 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.01637, allocations: 0.6613 MB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.01639, allocations: 15.83 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.01643, allocations: 27.97 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.256e-05/0.01652, allocations: 56.95 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.01706, allocations: 467.3 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.01941, allocations: 2.729 MB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.0199, allocations: 388.4 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.02014, allocations: 274 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.02017, allocations: 11.98 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.0202, allocations: 41.39 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.954e-06/0.0202, allocations: 0 / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001567/0.02177, allocations: 1.418 MB / 386.7 MB, free: 9.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.02183, allocations: 134.8 kB / 386.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.02203, allocations: 342.2 kB / 387.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.02206, allocations: 37.83 kB / 387.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.02218, allocations: 307.7 kB / 387.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.02228, allocations: 198.3 kB / 387.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02239, allocations: 103.8 kB / 387.8 MB, free: 8.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.02252, allocations: 0.5352 MB / 388.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.02275, allocations: 246.8 kB / 388.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.02305, allocations: 460.4 kB / 389.1 MB, free: 7.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.02361, allocations: 0.7256 MB / 389.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02361, allocations: 0 / 389.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007374/0.02435, allocations: 0.7806 MB / 390.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.0244, allocations: 69.66 kB / 390.6 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.02441, allocations: 4 kB / 390.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.02458, allocations: 35.67 kB / 390.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.02476, allocations: 91.81 kB / 390.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.026, allocations: 1.807 MB / 392.6 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.02637, allocations: 36.03 kB / 392.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.02642, allocations: 27.98 kB / 392.6 MB, free: 3.203 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.0002671/0.02669, allocations: 254 kB / 392.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.02682, allocations: 71.66 kB / 392.9 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008738/0.02769, allocations: 0.7712 MB / 393.7 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.02771, allocations: 12 kB / 393.7 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.02772, allocations: 4 kB / 393.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02772, allocations: 4 kB / 393.7 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.02945, allocations: 1.324 MB / 395.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.02946, allocations: 3.938 kB / 395.1 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.02962, allocations: 59.89 kB / 395.1 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.02972, allocations: 27.67 kB / 395.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.02976, allocations: 11.98 kB / 395.2 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008881/0.03065, allocations: 1.811 MB / 397 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.03065, allocations: 7.938 kB / 397 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.03149, allocations: 0.9571 MB / 397.9 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.03164, allocations: 87.72 kB / 398 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.03168, allocations: 15.92 kB / 398 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.03183, allocations: 27.97 kB / 398.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.03194, allocations: 43.94 kB / 398.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.03197, allocations: 15.98 kB / 398.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.0321, allocations: 223 kB / 398.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0321, allocations: 0 / 398.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.03254, allocations: 143.9 kB / 398.5 MB, free: 13.05 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.0002338/0.03277, allocations: 143.1 kB / 398.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009558/0.03373, allocations: 0.9694 MB / 399.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03373, allocations: 3.938 kB / 399.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.03424, allocations: 0.6176 MB / 400.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.03462, allocations: 81.2 kB / 400.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.0366, allocations: 1.235 MB / 401.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.03671, allocations: 165.7 kB / 401.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.03687, allocations: 79.23 kB / 401.8 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.03694, allocations: 28.5 kB / 401.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.03694, allocations: 0 / 401.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of Templates: time 0.01434/0.05128, allocations: 6.246 MB / 408 MB, free: 3.398 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.301961125805974]