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.0006432/0.0006432, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008685/0.001512, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0006589/0.0006589, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008662/0.001525, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9379/0.9379, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07438/1.012, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.1114/0.1114, allocations: 29.43 MB / 273.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/0.2182, allocations: 9.526 MB / 283.1 MB, free: 12.81 MB / 282.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.393e-06/1.393e-06, allocations: 1.25 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.285e-05, allocations: 2.969 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.003764/0.003777, allocations: 4.449 MB / 288.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.005405, allocations: 1.429 MB / 290.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.005555, allocations: 20.06 kB / 290.3 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.005934, allocations: 173.3 kB / 290.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.006265, allocations: 294.8 kB / 290.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.006689, allocations: 269.2 kB / 291 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.007191, allocations: 0.6862 MB / 291.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.007442, allocations: 209.8 kB / 291.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.007883, allocations: 452.9 kB / 292.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.008491, allocations: 387.7 kB / 292.8 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.008546, allocations: 45.06 kB / 292.8 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.008858, allocations: 222.2 kB / 293 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.00903, allocations: 243.8 kB / 293.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.009186, allocations: 157.7 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.009661, allocations: 0.5437 MB / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.00967, allocations: 3.938 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00967, allocations: 4 kB / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.009681, allocations: 0 / 294 MB, free: 5.105 MB / 282.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.000854/0.01054, allocations: 0.8613 MB / 294.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.01056, allocations: 12.03 kB / 294.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.01104, allocations: 213.8 kB / 295 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.01139, allocations: 344.1 kB / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.01141, allocations: 29.38 kB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.01146, allocations: 48.34 kB / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.01196, allocations: 0.571 MB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.01198, allocations: 7.922 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.01201, allocations: 16 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-05/0.01208, allocations: 48.97 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.01241, allocations: 351.2 kB / 296.4 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.01398, allocations: 2.067 MB / 298.5 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.01433, allocations: 352.3 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.01448, allocations: 212.3 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.0145, allocations: 4 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01452, allocations: 38.56 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.033e-06/0.01452, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001117/0.01564, allocations: 1.035 MB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.01568, allocations: 85.09 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.01605, allocations: 274.8 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01607, allocations: 29.7 kB / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.01615, allocations: 241.4 kB / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.01624, allocations: 190.3 kB / 300.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.01633, allocations: 98.06 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.01641, allocations: 350.7 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.01655, allocations: 197.5 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.01674, allocations: 315.8 kB / 301.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.01712, allocations: 0.5731 MB / 302.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01712, allocations: 3.938 kB / 302.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004879/0.01761, allocations: 0.5901 MB / 303 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.01767, allocations: 69.66 kB / 303.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01768, allocations: 4 kB / 303.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.01779, allocations: 39.61 kB / 303.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.01801, allocations: 87.89 kB / 303.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006288/0.01864, allocations: 1.264 MB / 304.5 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01877, allocations: 23.98 kB / 304.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.0188, allocations: 16 kB / 304.5 MB, free: 9.867 MB / 298.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.0001527/0.01895, allocations: 210.1 kB / 304.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.209e-05/0.01903, allocations: 47.95 kB / 304.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.01952, allocations: 0.5897 MB / 305.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.01953, allocations: 8 kB / 305.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01953, allocations: 0 / 305.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01954, allocations: 7.984 kB / 305.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.02039, allocations: 1.005 MB / 306.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02039, allocations: 0 / 306.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.02054, allocations: 55.95 kB / 306.5 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.02063, allocations: 71.67 kB / 306.5 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.595e-05/0.02069, allocations: 43.61 kB / 306.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.02072, allocations: 19.92 kB / 306.6 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007913/0.02151, allocations: 1.252 MB / 307.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02151, allocations: 0 / 307.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.02206, allocations: 0.7524 MB / 308.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.02209, allocations: 12 kB / 308.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.0222, allocations: 12 kB / 308.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.02227, allocations: 39.88 kB / 308.7 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.0223, allocations: 19.98 kB / 308.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.02237, allocations: 92.62 kB / 308.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02237, allocations: 0 / 308.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.02268, allocations: 147.9 kB / 308.9 MB, free: 5.258 MB / 298.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.0001835/0.02286, allocations: 124.3 kB / 309 MB, free: 5.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005917/0.02345, allocations: 0.758 MB / 309.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.02347, allocations: 7.938 kB / 309.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.02383, allocations: 0.5333 MB / 310.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.02422, allocations: 0.5304 MB / 310.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.02998, allocations: 1.227 MB / 312.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.678e-05/0.03008, allocations: 173.7 kB / 312.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.03019, allocations: 39.31 kB / 312.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.03042, allocations: 139.3 kB / 312.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03042, allocations: 0 / 312.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of Templates: time 0.008023/0.03844, allocations: 6.689 MB / 319.1 MB, free: 10.89 MB / 314.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: 2.659839490428567]