Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 110.8 kB / 17.09 MB, free: 5.773 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.001367/0.001367, allocations: 195 kB / 18.03 MB, free: 4.953 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0452/0.0452, allocations: 8.096 MB / 300 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 363.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2086, allocations: 51.52 MB / 414.7 MB, free: 25.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002703/0.2113, allocations: 2.302 MB / 417 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2128, allocations: 1.676 MB / 418.7 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.2129, allocations: 4 kB / 418.7 MB, free: 21.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.2132, allocations: 159.1 kB / 418.8 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.2136, allocations: 210.6 kB / 419 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.2152, allocations: 1.213 MB / 420.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.2155, allocations: 414 kB / 420.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.2157, allocations: 127.2 kB / 420.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2158, allocations: 171.3 kB / 420.9 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.216, allocations: 207.1 kB / 421.1 MB, free: 19.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.216, allocations: 32 kB / 421.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.2163, allocations: 275.7 kB / 421.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.2164, allocations: 79.62 kB / 421.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2165, allocations: 199 kB / 421.7 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.217, allocations: 0.5743 MB / 422.3 MB, free: 18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.217, allocations: 0 / 422.3 MB, free: 18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.217, allocations: 4 kB / 422.3 MB, free: 18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.217, allocations: 0 / 422.3 MB, free: 18 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004523/0.2215, allocations: 1.357 MB / 423.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2216, allocations: 15.89 kB / 423.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.2217, allocations: 44.41 kB / 423.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.222, allocations: 327.5 kB / 424 MB, free: 16.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.222, allocations: 20.94 kB / 424.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.222, allocations: 36.38 kB / 424.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.2226, allocations: 477 kB / 424.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2226, allocations: 8.109 kB / 424.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.2227, allocations: 15.94 kB / 424.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2227, allocations: 4 kB / 424.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.2232, allocations: 422.1 kB / 425 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.2252, allocations: 2.009 MB / 427 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.226, allocations: 0.5179 MB / 427.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.2263, allocations: 284.8 kB / 427.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.2264, allocations: 15.97 kB / 427.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2265, allocations: 38.56 kB / 427.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.2265, allocations: 0 / 427.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006312/0.2328, allocations: 1.92 MB / 429.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2328, allocations: 110.8 kB / 429.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.2331, allocations: 270.9 kB / 430.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.2331, allocations: 37.7 kB / 430.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.2332, allocations: 156.9 kB / 430.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.2333, allocations: 153.8 kB / 430.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.2335, allocations: 106.2 kB / 430.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.2336, allocations: 346.8 kB / 430.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.2339, allocations: 297 kB / 431.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.2343, allocations: 348.6 kB / 431.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.2351, allocations: 0.6451 MB / 432.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2351, allocations: 4 kB / 432.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002952/0.2381, allocations: 1.26 MB / 433.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2381, allocations: 4 kB / 433.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2381, allocations: 11.92 kB / 433.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/0.2414, allocations: 0.7736 MB / 434.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2418, allocations: 91.83 kB / 434.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006102/0.2479, allocations: 4.158 MB / 438.5 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2483, allocations: 59.42 kB / 438.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2483, allocations: 16 kB / 438.6 MB, free: 1.113 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 (51): * Single equations (assignments): 50 * 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.0001795/0.2485, allocations: 177.6 kB / 438.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.2486, allocations: 31.62 kB / 438.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.2518, allocations: 1.214 MB / 440 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2519, allocations: 8 kB / 440 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2519, allocations: 0 / 440 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2519, allocations: 3.984 kB / 440 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.2524, allocations: 0.5598 MB / 440.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2524, allocations: 0 / 440.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.2527, allocations: 59.97 kB / 440.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/0.2563, allocations: 0.7533 MB / 441.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.2564, allocations: 8 kB / 441.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.2636, allocations: 4.129 MB / 445.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2637, allocations: 0 / 445.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.267, allocations: 1.222 MB / 446.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2672, allocations: 120.5 kB / 446.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.2672, allocations: 11.98 kB / 446.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2676, allocations: 30.86 kB / 446.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2677, allocations: 36.39 kB / 446.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.2678, allocations: 23.92 kB / 447 MB, free: 8.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.268, allocations: 190 kB / 447.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.268, allocations: 0 / 447.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006078/0.2686, allocations: 179.8 kB / 447.3 MB, free: 8.121 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 (36): * Single equations (assignments): 35 * 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.0002558/0.2688, allocations: 124 kB / 447.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.2714, allocations: 1.051 MB / 448.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2714, allocations: 0 / 448.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.2732, allocations: 0.6881 MB / 449.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.2736, allocations: 41.94 kB / 449.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2748, allocations: 0.7503 MB / 450 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.2754, allocations: 0.8051 MB / 450.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.2755, allocations: 54.91 kB / 450.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.2756, allocations: 35.42 kB / 450.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2756, allocations: 7.938 kB / 450.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Templates: time 0.01688/0.2925, allocations: 11.68 MB / 462.5 MB, free: 8.852 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)