Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.000669/0.000669, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008522/0.001521, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006936/0.0006936, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008392/0.001533, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8772/0.8772, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07994/0.9572, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.1234/0.1234, allocations: 29.42 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.126/0.2494, allocations: 9.525 MB / 282.9 MB, free: 12.86 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 1.375 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/1.221e-05, allocations: 2.969 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004743/0.004755, allocations: 4.317 MB / 288.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.006773, allocations: 1.551 MB / 290.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.006928, allocations: 20.75 kB / 290.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.007347, allocations: 163.7 kB / 290.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.007811, allocations: 298.7 kB / 290.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.008328, allocations: 262.6 kB / 290.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.00881, allocations: 0.6338 MB / 291.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.009081, allocations: 205.5 kB / 291.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.009892, allocations: 428.1 kB / 292.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.01027, allocations: 339 kB / 292.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.01033, allocations: 37.5 kB / 292.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.01073, allocations: 228 kB / 292.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.01095, allocations: 222.7 kB / 292.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.01115, allocations: 142.1 kB / 293 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.01176, allocations: 0.4887 MB / 293.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.01177, allocations: 4 kB / 293.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01177, allocations: 0 / 293.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.01179, allocations: 0 / 293.5 MB, free: 5.414 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009584/0.01274, allocations: 0.7451 MB / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.01277, allocations: 8.031 kB / 294.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006463/0.01342, allocations: 209.8 kB / 294.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.01386, allocations: 328.2 kB / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01388, allocations: 25.38 kB / 294.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.01401, allocations: 56.61 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.01454, allocations: 419 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.01456, allocations: 0 / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.0146, allocations: 16 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.01474, allocations: 60.95 kB / 295.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.01513, allocations: 217.6 kB / 295.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.01706, allocations: 1.996 MB / 297.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.01721, allocations: 172.3 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.01728, allocations: 81.66 kB / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.0173, allocations: 4 kB / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01732, allocations: 34.56 kB / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.01733, allocations: 0 / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007028/0.01803, allocations: 0.5735 MB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.01806, allocations: 81.11 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.0182, allocations: 259 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01821, allocations: 33.64 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.0183, allocations: 244.6 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.01837, allocations: 146.7 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.01844, allocations: 78.09 kB / 299.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.01852, allocations: 350.7 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.01858, allocations: 51.81 kB / 299.6 MB, free: 15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.01892, allocations: 193.2 kB / 299.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.01913, allocations: 302.2 kB / 300.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01913, allocations: 0 / 300.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004137/0.01954, allocations: 359.3 kB / 300.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.01956, allocations: 4 kB / 300.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002181/0.01977, allocations: 196.6 kB / 300.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.02, allocations: 102.3 kB / 300.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.02017, allocations: 87.84 kB / 300.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.02133, allocations: 2.533 MB / 303.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.02143, allocations: 11.95 kB / 303.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.02145, allocations: 16 kB / 303.4 MB, free: 10.87 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: 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/0.02154, allocations: 140.5 kB / 303.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.0216, allocations: 31.97 kB / 303.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.02181, allocations: 216.7 kB / 303.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.02182, allocations: 11.94 kB / 303.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.02182, allocations: 8.016 kB / 303.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.02183, allocations: 4 kB / 303.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.02232, allocations: 0.5407 MB / 304.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02232, allocations: 3.938 kB / 304.4 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.02253, allocations: 74.2 kB / 304.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.02259, allocations: 51.67 kB / 304.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.02259, allocations: 4 kB / 304.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.0226, allocations: 8.062 kB / 304.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02261, allocations: 4 kB / 304.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02261, allocations: 3.938 kB / 304.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.02289, allocations: 424.5 kB / 304.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.02292, allocations: 8 kB / 304.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.02299, allocations: 8 kB / 304.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.02302, allocations: 15.95 kB / 304.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.02303, allocations: 12 kB / 305 MB, free: 9.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.02309, allocations: 92.56 kB / 305 MB, free: 9.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02309, allocations: 0 / 305 MB, free: 9.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.02334, allocations: 119.9 kB / 305.2 MB, free: 9.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.02347, allocations: 112.4 kB / 305.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.02384, allocations: 474 kB / 305.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.02386, allocations: 8 kB / 305.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.02394, allocations: 96.67 kB / 305.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.02418, allocations: 100.7 kB / 305.9 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/0.02979, allocations: 0.916 MB / 306.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.02988, allocations: 153.7 kB / 307 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.02998, allocations: 47.25 kB / 307 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.03011, allocations: 107.4 kB / 307.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03011, allocations: 0 / 307.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of Templates: time 0.006043/0.03615, allocations: 4.765 MB / 311.9 MB, free: 2.262 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6477560056373477]