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.001936/0.001936, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002004/0.002004, allocations: 165.3 kB / 24.27 MB, free: 152 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.656/1.656, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3253/0.3253, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.724e-06/1.724e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.288e-05, allocations: 5.406 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007437/0.00747, allocations: 4.487 MB / 373.4 MB, free: 6.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.01076, allocations: 1.523 MB / 374.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.01115, allocations: 15.88 kB / 374.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01224, allocations: 294.6 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008133/0.01306, allocations: 298.3 kB / 375.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.01381, allocations: 259.1 kB / 375.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007978/0.01461, allocations: 0.6234 MB / 376.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.01498, allocations: 192 kB / 376.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.01563, allocations: 370.9 kB / 376.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.01625, allocations: 359.1 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.01633, allocations: 40 kB / 377.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.01688, allocations: 231.4 kB / 377.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.01718, allocations: 251.4 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.01744, allocations: 171.6 kB / 377.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.01843, allocations: 0.7088 MB / 378.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.01844, allocations: 7.984 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01844, allocations: 0 / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.01845, allocations: 0 / 378.7 MB, free: 1.516 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.001587/0.02004, allocations: 0.8363 MB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.02008, allocations: 15.98 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.02112, allocations: 168.4 kB / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.0219, allocations: 382.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.02194, allocations: 25.38 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.0221, allocations: 48.72 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/0.023, allocations: 0.4928 MB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.02302, allocations: 3.938 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.02307, allocations: 15.98 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.02329, allocations: 72.94 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.02403, allocations: 347.7 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.02814, allocations: 2.731 MB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.02852, allocations: 194.3 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.02871, allocations: 95.41 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.02874, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.02879, allocations: 53.25 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/0.02879, allocations: 0 / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001739/0.03053, allocations: 0.8144 MB / 384.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.03059, allocations: 81.11 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.03099, allocations: 374.1 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.03103, allocations: 33.83 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.03126, allocations: 318.9 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.0314, allocations: 150.8 kB / 385.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.03157, allocations: 103.8 kB / 386 MB, free: 9.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000374/0.03195, allocations: 0.5313 MB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.03214, allocations: 84.95 kB / 386.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.03262, allocations: 287 kB / 386.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.03323, allocations: 413.5 kB / 387.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.03323, allocations: 0 / 387.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001069/0.0343, allocations: 0.4963 MB / 387.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.03432, allocations: 8 kB / 387.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006368/0.03495, allocations: 273.3 kB / 388 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.03545, allocations: 103.4 kB / 388.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.03578, allocations: 87.83 kB / 388.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.03913, allocations: 3.703 MB / 391.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.03937, allocations: 28.03 kB / 391.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.03941, allocations: 16 kB / 392 MB, free: 3.367 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.0002198/0.03963, allocations: 184.5 kB / 392.1 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.03976, allocations: 59.58 kB / 392.2 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.04036, allocations: 288.7 kB / 392.5 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.04039, allocations: 12 kB / 392.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.04039, allocations: 0 / 392.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.04039, allocations: 4 kB / 392.5 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.04182, allocations: 0.8066 MB / 393.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.04182, allocations: 4 kB / 393.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.04217, allocations: 67.89 kB / 393.4 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.04217, allocations: 4 kB / 393.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.0422, allocations: 8 kB / 393.4 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.04221, allocations: 4 kB / 393.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.04221, allocations: 0 / 393.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.04307, allocations: 0.5376 MB / 393.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.04322, allocations: 51.78 kB / 394 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.04327, allocations: 11.98 kB / 394 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.04346, allocations: 15.98 kB / 394 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.04351, allocations: 19.97 kB / 394 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.04355, allocations: 15.97 kB / 394 MB, free: 1.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002309/0.04378, allocations: 235 kB / 394.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04378, allocations: 0 / 394.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004868/0.04427, allocations: 119.9 kB / 394.4 MB, free: 0.8398 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.0002678/0.04454, allocations: 135.1 kB / 394.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.04554, allocations: 0.6436 MB / 395.2 MB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.04555, allocations: 4 kB / 395.2 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.04578, allocations: 128.7 kB / 395.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.04627, allocations: 70.61 kB / 395.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.04782, allocations: 0.9234 MB / 396.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.04812, allocations: 257.5 kB / 396.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.04834, allocations: 75.19 kB / 396.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.04843, allocations: 36.5 kB / 396.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04843, allocations: 0 / 396.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of Templates: time 0.01022/0.05865, allocations: 4.28 MB / 400.9 MB, free: 10.25 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: 5.023093355004676]