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.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001154/0.001154, allocations: 166.6 kB / 24.99 MB, free: 8.789 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.045/1.045, 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.2273/0.2273, allocations: 29.41 MB / 291.2 MB, free: 2.531 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.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 1.623e-06/1.623e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.595e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004396/0.004421, allocations: 4.543 MB / 374.2 MB, free: 6.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.006686, allocations: 1.531 MB / 375.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.006893, allocations: 19.81 kB / 375.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.007586, allocations: 286.7 kB / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.008073, allocations: 294.3 kB / 376.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.008581, allocations: 267.1 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.009047, allocations: 0.6195 MB / 377.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.009325, allocations: 192 kB / 377.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.009695, allocations: 366.9 kB / 377.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.01005, allocations: 359.1 kB / 378.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.543e-05/0.0101, allocations: 40 kB / 378.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.0104, allocations: 243.4 kB / 378.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.01057, allocations: 239.5 kB / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.01071, allocations: 175.6 kB / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.01121, allocations: 0.549 MB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01121, allocations: 0 / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01121, allocations: 0 / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.01122, allocations: 0 / 379.3 MB, free: 1.629 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009439/0.01216, allocations: 0.8133 MB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.0122, allocations: 15.98 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.01276, allocations: 168.4 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.01318, allocations: 378.7 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.0132, allocations: 25.38 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.0133, allocations: 48.72 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.01382, allocations: 468.6 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01384, allocations: 7.938 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.01387, allocations: 19.98 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.01401, allocations: 60.95 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.01443, allocations: 301.6 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.01666, allocations: 2.612 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.01689, allocations: 178.3 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.017, allocations: 91.39 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01702, allocations: 15.98 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.01704, allocations: 41.27 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.893e-06/0.01705, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001042/0.01809, allocations: 0.7987 MB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.01813, allocations: 85.09 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.01833, allocations: 326.2 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01835, allocations: 29.7 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01847, allocations: 302.9 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.01855, allocations: 146.9 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.01864, allocations: 99.72 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01876, allocations: 0.5235 MB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.01885, allocations: 72.95 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.01904, allocations: 271 kB / 387.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.01935, allocations: 373.8 kB / 387.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01935, allocations: 4 kB / 387.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006453/0.02, allocations: 472.3 kB / 387.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.02001, allocations: 12 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003524/0.02036, allocations: 269.2 kB / 388.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.02064, allocations: 95.28 kB / 388.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.02081, allocations: 79.89 kB / 388.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.02248, allocations: 3.66 MB / 392.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.0226, allocations: 19.98 kB / 392.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.02263, allocations: 20 kB / 392.1 MB, free: 3.984 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: 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 0.0001137/0.02274, allocations: 180.6 kB / 392.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.02281, allocations: 59.62 kB / 392.3 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.02314, allocations: 280.7 kB / 392.6 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.02315, allocations: 8 kB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.02315, allocations: 0 / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.02316, allocations: 7.984 kB / 392.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.02386, allocations: 0.7364 MB / 393.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02386, allocations: 0 / 393.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.02404, allocations: 67.89 kB / 393.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.02404, allocations: 0 / 393.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.02406, allocations: 8 kB / 393.4 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.02406, allocations: 4 kB / 393.4 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02406, allocations: 0 / 393.4 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.02451, allocations: 0.514 MB / 393.9 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.02461, allocations: 67.86 kB / 394 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.02464, allocations: 12.06 kB / 394 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.02474, allocations: 15.98 kB / 394 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.02477, allocations: 19.94 kB / 394.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.02479, allocations: 12 kB / 394.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.02491, allocations: 215 kB / 394.3 MB, free: 1.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02491, allocations: 0 / 394.3 MB, free: 1.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.02521, allocations: 119.9 kB / 394.4 MB, free: 1.578 MB / 362.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.0001742/0.02539, allocations: 131.1 kB / 394.5 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.02595, allocations: 0.6151 MB / 395.1 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02595, allocations: 0 / 395.1 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.02607, allocations: 117.6 kB / 395.3 MB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.02639, allocations: 70.56 kB / 395.3 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.02771, allocations: 0.9389 MB / 396.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.538e-05/0.02781, allocations: 156.9 kB / 396.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.02795, allocations: 87.17 kB / 396.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.02801, allocations: 28.5 kB / 396.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02801, allocations: 0 / 396.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of Templates: time 0.006503/0.03452, allocations: 4.28 MB / 400.8 MB, free: 11.11 MB / 378.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: 3.2492872960865498]