Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 107.8 kB / 17.07 MB, free: 5.68 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.001512/0.001513, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05052/0.05052, allocations: 8.099 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 63.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2144, allocations: 51.53 MB / 414.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.002934/0.2173, allocations: 2.825 MB / 417.5 MB, free: 22.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2193, allocations: 1.66 MB / 419.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2194, allocations: 8 kB / 419.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.2198, allocations: 175 kB / 419.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.2203, allocations: 230.5 kB / 419.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.222, allocations: 1.256 MB / 420.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.2225, allocations: 485.7 kB / 421.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.2227, allocations: 166.9 kB / 421.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2229, allocations: 211.1 kB / 421.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.2231, allocations: 263 kB / 421.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.2232, allocations: 44 kB / 422 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.2236, allocations: 279.8 kB / 422.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.2237, allocations: 103.5 kB / 422.4 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2238, allocations: 238.8 kB / 422.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.2244, allocations: 0.6657 MB / 423.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2244, allocations: 3.984 kB / 423.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2245, allocations: 0 / 423.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2245, allocations: 0 / 423.3 MB, free: 16.82 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005238/0.2297, allocations: 1.509 MB / 424.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2298, allocations: 12.02 kB / 424.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2299, allocations: 52.38 kB / 424.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.2302, allocations: 343.5 kB / 425.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2303, allocations: 29.38 kB / 425.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.2304, allocations: 44.38 kB / 425.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.2311, allocations: 0.5815 MB / 425.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2311, allocations: 192 / 425.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.2311, allocations: 19.94 kB / 425.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2311, allocations: 11.94 kB / 425.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006166/0.2318, allocations: 0.531 MB / 426.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.234, allocations: 2.265 MB / 428.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.2349, allocations: 0.8492 MB / 429.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.2353, allocations: 326.1 kB / 429.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.2353, allocations: 12.42 kB / 429.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2354, allocations: 42.94 kB / 429.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.734e-06/0.2354, allocations: 0 / 429.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006456/0.2418, allocations: 2.041 MB / 431.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2419, allocations: 107.2 kB / 432 MB, free: 7.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2421, allocations: 274.9 kB / 432.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.2422, allocations: 37.7 kB / 432.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.2423, allocations: 181.2 kB / 432.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.2424, allocations: 181.3 kB / 432.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.2425, allocations: 118.3 kB / 432.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.2426, allocations: 346.8 kB / 433.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.243, allocations: 329.2 kB / 433.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.2434, allocations: 377.7 kB / 433.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.2442, allocations: 0.7134 MB / 434.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2442, allocations: 0 / 434.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00316/0.2474, allocations: 1.348 MB / 435.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2474, allocations: 4 kB / 435.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2475, allocations: 3.938 kB / 435.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.2507, allocations: 0.7847 MB / 436.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.2511, allocations: 99.88 kB / 436.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.2579, allocations: 4.178 MB / 441 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.2583, allocations: 61.72 kB / 441 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.2584, allocations: 19.98 kB / 441 MB, free: 14.39 MB / 318.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 (61): * Single equations (assignments): 60 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.2586, allocations: 173.7 kB / 441.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.2587, allocations: 43.47 kB / 441.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.2623, allocations: 1.307 MB / 442.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2624, allocations: 8 kB / 442.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2624, allocations: 0 / 442.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2624, allocations: 3.984 kB / 442.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.2666, allocations: 1.977 MB / 444.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.2666, allocations: 7.922 kB / 444.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.2669, allocations: 75.91 kB / 444.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/0.2704, allocations: 0.7533 MB / 445.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.2705, allocations: 12 kB / 445.4 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/0.2776, allocations: 4.132 MB / 449.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2777, allocations: 0 / 449.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.2811, allocations: 1.316 MB / 450.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2813, allocations: 120.5 kB / 451 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.2813, allocations: 12 kB / 451 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.2818, allocations: 34.55 kB / 451 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2819, allocations: 40.52 kB / 451 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.282, allocations: 19.98 kB / 451.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.2822, allocations: 190 kB / 451.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.2822, allocations: 0 / 451.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000732/0.283, allocations: 203.8 kB / 451.4 MB, free: 3.719 MB / 318.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 (45): * Single equations (assignments): 44 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.2832, allocations: 123.9 kB / 451.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.2859, allocations: 1.131 MB / 452.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2859, allocations: 0 / 452.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.2878, allocations: 0.7203 MB / 453.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2882, allocations: 40.88 kB / 453.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2897, allocations: 0.8602 MB / 454.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.2901, allocations: 0.8218 MB / 455.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.2903, allocations: 63.23 kB / 455.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2904, allocations: 43.42 kB / 455.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2904, allocations: 0 / 455.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Templates: time 0.0193/0.3097, allocations: 12.13 MB / 467.4 MB, free: 3.766 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)