Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.0006778/0.0006778, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009291/0.001607, allocations: 449.8 kB / 10.44 MB, free: 252 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.00107/0.00107, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002462, allocations: 479.5 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.9175/0.9175, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09758/1.015, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.1595/0.1595, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1557/0.3152, allocations: 9.529 MB / 283.1 MB, free: 12.82 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.575e-05, allocations: 4.188 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005726/0.005751, allocations: 4.159 MB / 288.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.0083, allocations: 1.469 MB / 290 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.008545, allocations: 20.06 kB / 290.1 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.009108, allocations: 169.5 kB / 290.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.009672, allocations: 278.7 kB / 290.5 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.01046, allocations: 246.5 kB / 290.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.01122, allocations: 0.5959 MB / 291.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.0116, allocations: 230 kB / 291.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007719/0.01237, allocations: 420.4 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.01289, allocations: 318.2 kB / 292.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.355e-05/0.01296, allocations: 42.03 kB / 292.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.01354, allocations: 233.2 kB / 292.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.01379, allocations: 232.6 kB / 292.8 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.01402, allocations: 143.8 kB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.01478, allocations: 0.4952 MB / 293.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.01479, allocations: 1.188 kB / 293.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01479, allocations: 0 / 293.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.0148, allocations: 4 kB / 293.4 MB, free: 5.586 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001156/0.01596, allocations: 0.7476 MB / 294.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.016, allocations: 8.031 kB / 294.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.01674, allocations: 209.8 kB / 294.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.01723, allocations: 328.2 kB / 294.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.01726, allocations: 29.36 kB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.01745, allocations: 48.5 kB / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.01795, allocations: 415.9 kB / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01797, allocations: 11.92 kB / 295.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.01799, allocations: 16 kB / 295.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.01809, allocations: 40.98 kB / 295.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.01836, allocations: 221.6 kB / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.02005, allocations: 1.889 MB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.02025, allocations: 199.8 kB / 297.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.02033, allocations: 65.77 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.02036, allocations: 11.94 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.02038, allocations: 38.55 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.02038, allocations: 0 / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008536/0.02124, allocations: 0.6134 MB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.02127, allocations: 92.97 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.02142, allocations: 270.8 kB / 298.6 MB, free: 156 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.02143, allocations: 29.7 kB / 298.7 MB, free: 120 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.02153, allocations: 244.7 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.02161, allocations: 154.6 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.02169, allocations: 94.08 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.02177, allocations: 342.8 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.02184, allocations: 64.08 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.02197, allocations: 217.6 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.02221, allocations: 342.5 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02222, allocations: 4 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003097/0.02252, allocations: 333.8 kB / 300.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.02254, allocations: 8.125 kB / 300.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.02255, allocations: 8 kB / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.02256, allocations: 8 kB / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.02284, allocations: 123.8 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.02285, allocations: 11.98 kB / 300.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.02295, allocations: 16 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.02298, allocations: 16 kB / 300.6 MB, free: 14.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/0.02307, allocations: 140.5 kB / 300.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.02313, allocations: 35.97 kB / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.02337, allocations: 240.3 kB / 301 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.02339, allocations: 15.94 kB / 301 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.02339, allocations: 0 / 301 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.02339, allocations: 11.97 kB / 301 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.024, allocations: 0.6086 MB / 301.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.024, allocations: 0 / 301.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.02421, allocations: 91.92 kB / 301.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.02424, allocations: 35.75 kB / 301.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02424, allocations: 7.984 kB / 301.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.02426, allocations: 8 kB / 301.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.02426, allocations: 0 / 301.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.02426, allocations: 7.938 kB / 301.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.0246, allocations: 431.8 kB / 302.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.02462, allocations: 11.98 kB / 302.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.02471, allocations: 8 kB / 302.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.02474, allocations: 27.91 kB / 302.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.02475, allocations: 11.98 kB / 302.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.02481, allocations: 96.62 kB / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02481, allocations: 0 / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.02507, allocations: 107.9 kB / 302.5 MB, free: 12.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * 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.0001507/0.02522, allocations: 116.3 kB / 302.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.02546, allocations: 238.7 kB / 302.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.02547, allocations: 4 kB / 302.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.02558, allocations: 118.6 kB / 302.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02597, allocations: 0.519 MB / 303.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.03164, allocations: 0.8949 MB / 304.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.887e-05/0.03173, allocations: 149.7 kB / 304.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.03185, allocations: 57.59 kB / 304.6 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.03199, allocations: 107.4 kB / 304.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03199, allocations: 0 / 304.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of Templates: time 0.005736/0.03773, allocations: 4.063 MB / 308.7 MB, free: 5.707 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6840812489390373]