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.00117/0.00117, allocations: 107 kB / 17.07 MB, free: 6.062 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.001166/0.001166, allocations: 196 kB / 18.01 MB, free: 5.148 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.377/1.377, 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.05164/0.05164, allocations: 8.105 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.89 kB / 363.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.222, allocations: 51.51 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002689/0.2248, allocations: 2.302 MB / 417 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2264, allocations: 1.664 MB / 418.7 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.2266, allocations: 8 kB / 418.7 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.2269, allocations: 159.1 kB / 418.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.2273, allocations: 218.5 kB / 419 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.229, allocations: 1.21 MB / 420.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.2294, allocations: 410.1 kB / 420.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.2296, allocations: 123.2 kB / 420.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2297, allocations: 171.3 kB / 420.9 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2299, allocations: 215.1 kB / 421.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.23, allocations: 35.94 kB / 421.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.2304, allocations: 271.7 kB / 421.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.2304, allocations: 79.67 kB / 421.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2306, allocations: 195 kB / 421.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.231, allocations: 0.578 MB / 422.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.231, allocations: 0 / 422.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.231, allocations: 0 / 422.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.231, allocations: 0 / 422.3 MB, free: 17.8 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.004309/0.2354, allocations: 1.365 MB / 423.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2354, allocations: 15.89 kB / 423.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.2355, allocations: 40.47 kB / 423.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.2358, allocations: 327.5 kB / 424 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2358, allocations: 24.94 kB / 424 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.2359, allocations: 32.38 kB / 424.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.2365, allocations: 469 kB / 424.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2365, allocations: 8.172 kB / 424.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.2365, allocations: 15.88 kB / 424.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2365, allocations: 8 kB / 424.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.2371, allocations: 422 kB / 425 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.2391, allocations: 2.017 MB / 427 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.2399, allocations: 0.5101 MB / 427.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.2402, allocations: 288.8 kB / 427.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.152e-05/0.2403, allocations: 11.97 kB / 427.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2403, allocations: 38.56 kB / 427.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.2403, allocations: 0 / 427.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006189/0.2465, allocations: 1.916 MB / 429.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.2465, allocations: 110.8 kB / 429.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.2468, allocations: 270.9 kB / 430.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.2468, allocations: 41.7 kB / 430.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.2469, allocations: 164.9 kB / 430.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.247, allocations: 149.8 kB / 430.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.2471, allocations: 106.2 kB / 430.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.2472, allocations: 342.8 kB / 430.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.2476, allocations: 297 kB / 431.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.2479, allocations: 348.6 kB / 431.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007475/0.2487, allocations: 0.649 MB / 432.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2487, allocations: 4.031 kB / 432.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002942/0.2517, allocations: 1.256 MB / 433.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2517, allocations: 7.984 kB / 433.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2517, allocations: 7.938 kB / 433.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/0.2549, allocations: 0.7692 MB / 434.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2553, allocations: 91.83 kB / 434.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.2615, allocations: 4.174 MB / 438.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.2619, allocations: 59.36 kB / 438.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.262, allocations: 19.98 kB / 438.6 MB, free: 0.9062 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.0002059/0.2622, allocations: 165.7 kB / 438.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.2623, allocations: 31.62 kB / 438.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.2655, allocations: 1.214 MB / 440 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2655, allocations: 4 kB / 440 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2655, allocations: 4 kB / 440 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2655, allocations: 3.984 kB / 440 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.2662, allocations: 0.5637 MB / 440.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2662, allocations: 3.938 kB / 440.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.2664, allocations: 59.91 kB / 440.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/0.2698, allocations: 0.7534 MB / 441.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.2698, allocations: 12 kB / 441.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006888/0.2767, allocations: 4.113 MB / 445.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2768, allocations: 8 kB / 445.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.28, allocations: 1.222 MB / 446.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2802, allocations: 124.5 kB / 446.9 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.2802, allocations: 8 kB / 446.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2806, allocations: 31.36 kB / 446.9 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2807, allocations: 32.39 kB / 446.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.2808, allocations: 23.92 kB / 446.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.281, allocations: 190 kB / 447.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.281, allocations: 0 / 447.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006206/0.2816, allocations: 175.8 kB / 447.3 MB, free: 7.926 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.0002006/0.2818, allocations: 123.2 kB / 447.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.2843, allocations: 1.054 MB / 448.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2843, allocations: 4 kB / 448.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.286, allocations: 0.6842 MB / 449.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2864, allocations: 43.62 kB / 449.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2876, allocations: 0.7525 MB / 450 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.288, allocations: 0.8013 MB / 450.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.2882, allocations: 50.92 kB / 450.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.2883, allocations: 39.42 kB / 450.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of SimCode: time 1.753e-06/0.2883, allocations: 0 / 450.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of Templates: time 0.01684/0.3051, allocations: 11.69 MB / 462.5 MB, free: 8.656 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 cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)