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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 111.2 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002737/0.002737, allocations: 197.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.531/2.531, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4171/0.4171, allocations: 38.03 MB / 330.1 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 64.05 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1884, allocations: 58.06 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.01264/0.2011, allocations: 5.061 MB / 462.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.2053, allocations: 1.613 MB / 463.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.206, allocations: 27.81 kB / 463.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.2077, allocations: 350.8 kB / 464 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.2089, allocations: 235.1 kB / 464.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.2098, allocations: 227.5 kB / 464.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.2109, allocations: 0.5573 MB / 465 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/0.2118, allocations: 301.1 kB / 465.3 MB, free: 24 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.2125, allocations: 258.9 kB / 465.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/0.2133, allocations: 382.9 kB / 466 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2134, allocations: 40 kB / 466 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.214, allocations: 235.6 kB / 466.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.2144, allocations: 239.5 kB / 466.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.2148, allocations: 258.7 kB / 466.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007708/0.2156, allocations: 0.499 MB / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2156, allocations: 7.938 kB / 467.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2156, allocations: 4 kB / 467.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.2156, allocations: 0 / 467.2 MB, free: 14.12 MB / 350.1 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.002398/0.218, allocations: 0.7661 MB / 468 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.2181, allocations: 15.89 kB / 468 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2192, allocations: 84.22 kB / 468.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.2203, allocations: 411.2 kB / 468.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.2204, allocations: 29.31 kB / 468.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.2206, allocations: 56.09 kB / 468.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2224, allocations: 0.6725 MB / 469.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.2225, allocations: 4 kB / 469.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.2226, allocations: 16 kB / 469.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/0.2229, allocations: 52.95 kB / 469.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.2247, allocations: 0.6713 MB / 470 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/0.231, allocations: 2.52 MB / 472.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.2321, allocations: 340.4 kB / 472.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.2327, allocations: 226 kB / 473.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.2328, allocations: 7.984 kB / 473.1 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.2329, allocations: 42.44 kB / 473.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 6.633e-06/0.2329, allocations: 0 / 473.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003886/0.2368, allocations: 1.345 MB / 474.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.2369, allocations: 81.11 kB / 474.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.2375, allocations: 304.5 kB / 474.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.2376, allocations: 33.7 kB / 474.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.2379, allocations: 255.5 kB / 475.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.2381, allocations: 141.8 kB / 475.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.2384, allocations: 102.1 kB / 475.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.2387, allocations: 354.7 kB / 475.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.2392, allocations: 205 kB / 475.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.2399, allocations: 361.1 kB / 476.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.2412, allocations: 0.606 MB / 476.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.2412, allocations: 4 kB / 476.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001758/0.243, allocations: 0.6308 MB / 477.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.243, allocations: 8 kB / 477.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.2431, allocations: 4 kB / 477.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/0.2431, allocations: 8 kB / 477.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.2439, allocations: 119.8 kB / 477.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.658e-05/0.244, allocations: 11.98 kB / 477.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.2445, allocations: 19.98 kB / 477.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.2446, allocations: 24.28 kB / 477.7 MB, free: 3.109 MB / 350.1 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 0.0004727/0.2451, allocations: 217.6 kB / 477.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.2453, allocations: 35.56 kB / 477.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.2468, allocations: 0.4886 MB / 478.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/0.2469, allocations: 19.98 kB / 478.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.2469, allocations: 0 / 478.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.2469, allocations: 3.984 kB / 478.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.2499, allocations: 1.104 MB / 479.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.25, allocations: 0 / 479.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.2506, allocations: 67.95 kB / 479.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.2506, allocations: 0 / 479.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.2507, allocations: 11.98 kB / 479.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.2507, allocations: 7.938 kB / 479.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2507, allocations: 4.094 kB / 479.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.2528, allocations: 0.8357 MB / 480.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.253, allocations: 108.6 kB / 480.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.2531, allocations: 11.98 kB / 480.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.2534, allocations: 23.97 kB / 480.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.2534, allocations: 23.86 kB / 480.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.2535, allocations: 11.98 kB / 480.7 MB, free: 12 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.2538, allocations: 215.1 kB / 480.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2538, allocations: 0 / 480.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.2544, allocations: 104 kB / 481 MB, free: 15.7 MB / 366.1 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.0002937/0.2548, allocations: 143.1 kB / 481.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2558, allocations: 0.5679 MB / 481.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2558, allocations: 0 / 481.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.2561, allocations: 224 kB / 481.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.2567, allocations: 83.61 kB / 482 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.2591, allocations: 1.347 MB / 483.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.2597, allocations: 0.8781 MB / 484.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2598, allocations: 35.42 kB / 484.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2598, allocations: 0 / 484.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01718/0.277, allocations: 5.489 MB / 489.7 MB, free: 6.871 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)