Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 101.2 kB / 16.31 MB, free: 5.879 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.001127/0.001127, allocations: 192.6 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05091/0.05091, allocations: 8.096 MB / 299.2 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 361.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2397, allocations: 51.52 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002333/0.2421, allocations: 1.601 MB / 414.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2437, allocations: 1.551 MB / 416.4 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.2438, allocations: 0 / 416.4 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.2441, allocations: 131.3 kB / 416.5 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.2444, allocations: 139.1 kB / 416.7 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.246, allocations: 1.166 MB / 417.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.2463, allocations: 246.8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2465, allocations: 76.16 kB / 418.1 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.2466, allocations: 95.7 kB / 418.2 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2468, allocations: 131.4 kB / 418.4 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.2468, allocations: 24 kB / 418.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.2472, allocations: 251.8 kB / 418.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.2473, allocations: 47.78 kB / 418.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2474, allocations: 115.4 kB / 418.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.2479, allocations: 424.8 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2479, allocations: 0 / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2479, allocations: 0 / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2479, allocations: 0 / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003009/0.2509, allocations: 0.9163 MB / 420.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.251, allocations: 12.03 kB / 420.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.251, allocations: 24.66 kB / 420.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2513, allocations: 255.9 kB / 420.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2513, allocations: 12.7 kB / 420.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.2514, allocations: 24.38 kB / 420.4 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.2517, allocations: 289.7 kB / 420.7 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2518, allocations: 192 / 420.7 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2518, allocations: 19.94 kB / 420.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2518, allocations: 4 kB / 420.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.2521, allocations: 243.9 kB / 421 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2534, allocations: 1.137 MB / 422.1 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.254, allocations: 307.3 kB / 422.4 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2542, allocations: 152.8 kB / 422.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.2542, allocations: 15.97 kB / 422.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2542, allocations: 38.5 kB / 422.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.2542, allocations: 0 / 422.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003008/0.2573, allocations: 0.9613 MB / 423.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2573, allocations: 85.09 kB / 423.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2575, allocations: 207.1 kB / 423.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2575, allocations: 29.7 kB / 423.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.2576, allocations: 132.7 kB / 424 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.2576, allocations: 90.73 kB / 424.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2577, allocations: 73.53 kB / 424.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.2578, allocations: 330.8 kB / 424.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.258, allocations: 164 kB / 424.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2582, allocations: 197.4 kB / 424.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.2587, allocations: 362.4 kB / 425.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2587, allocations: 4 kB / 425.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00161/0.2603, allocations: 0.6887 MB / 425.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2603, allocations: 6.188 kB / 425.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2603, allocations: 3.938 kB / 425.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.2621, allocations: 384.5 kB / 426.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2624, allocations: 47.91 kB / 426.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.2662, allocations: 2.761 MB / 429.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.2665, allocations: 31.73 kB / 429.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2666, allocations: 12 kB / 429.1 MB, free: 9.156 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.2667, allocations: 142.5 kB / 429.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.2668, allocations: 27.66 kB / 429.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.2684, allocations: 0.6404 MB / 430 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2684, allocations: 7.938 kB / 430 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2684, allocations: 4 kB / 430 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2685, allocations: 3.984 kB / 430 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.2688, allocations: 393.1 kB / 430.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2688, allocations: 0 / 430.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2689, allocations: 40.05 kB / 430.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.2705, allocations: 372.5 kB / 430.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2706, allocations: 4 kB / 430.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/0.2745, allocations: 2.723 MB / 433.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2746, allocations: 0 / 433.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.2761, allocations: 0.6952 MB / 434.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.2762, allocations: 100.8 kB / 434.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2762, allocations: 8 kB / 434.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.2765, allocations: 19.64 kB / 434.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.2765, allocations: 23.97 kB / 434.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.2766, allocations: 11.98 kB / 434.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2767, allocations: 159.4 kB / 434.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2767, allocations: 0 / 434.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.2771, allocations: 103.9 kB / 434.6 MB, free: 3.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.2773, allocations: 119.2 kB / 434.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.2789, allocations: 0.6628 MB / 435.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2789, allocations: 0 / 435.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.28, allocations: 450.4 kB / 435.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2803, allocations: 27.94 kB / 435.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.281, allocations: 0.4959 MB / 436.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.2812, allocations: 0.7446 MB / 437.1 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.2813, allocations: 33.92 kB / 437.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.2814, allocations: 27.42 kB / 437.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of SimCode: time 1.193e-06/0.2814, allocations: 0 / 437.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of Templates: time 0.01113/0.2925, allocations: 6.322 MB / 443.5 MB, free: 10.53 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)