Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003936/0.003936, allocations: 88.05 kB / 15.91 MB, free: 6.301 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.0009242/0.0009242, allocations: 199 kB / 16.83 MB, free: 6.234 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.194/1.194, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1584/0.1584, allocations: 8.088 MB / 298.7 MB, free: 2.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 56.14 kB / 361 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08572, allocations: 51.51 MB / 412.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003184/0.08894, allocations: 2.812 MB / 415.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.0909, allocations: 1.742 MB / 417.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.09101, allocations: 12 kB / 417.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.09139, allocations: 159.3 kB / 417.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.0918, allocations: 226.8 kB / 417.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.09348, allocations: 1.092 MB / 418.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.09396, allocations: 0.4975 MB / 419.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.09418, allocations: 132.8 kB / 419.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.09436, allocations: 203.2 kB / 419.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.09459, allocations: 254.9 kB / 419.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.09466, allocations: 28 kB / 419.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.09506, allocations: 255.7 kB / 419.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.09514, allocations: 95.53 kB / 420 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.09535, allocations: 234.7 kB / 420.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.09599, allocations: 0.6465 MB / 420.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.096, allocations: 0 / 420.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.09601, allocations: 0 / 420.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.09602, allocations: 0 / 420.9 MB, free: 1.809 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005743/0.1018, allocations: 1.658 MB / 422.6 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1018, allocations: 8.031 kB / 422.6 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1019, allocations: 56.28 kB / 422.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.1023, allocations: 364 kB / 423 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.1023, allocations: 41.38 kB / 423 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.1024, allocations: 44.38 kB / 423.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.1033, allocations: 0.5893 MB / 423.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1033, allocations: 3.938 kB / 423.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.1034, allocations: 16 kB / 423.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1034, allocations: 12 kB / 423.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007661/0.1042, allocations: 0.5428 MB / 424.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.1069, allocations: 2.231 MB / 426.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.108, allocations: 0.8925 MB / 427.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.1085, allocations: 398.5 kB / 427.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.1098, allocations: 1.341 MB / 429.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1099, allocations: 46.94 kB / 429.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.653e-06/0.1099, allocations: 0 / 429.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.009392/0.1193, allocations: 2.654 MB / 431.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1194, allocations: 107.2 kB / 431.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1197, allocations: 341.4 kB / 432.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.1198, allocations: 41.7 kB / 432.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1199, allocations: 205 kB / 432.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.12, allocations: 181.3 kB / 432.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.1203, allocations: 142.6 kB / 432.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1204, allocations: 354.8 kB / 433.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.121, allocations: 397.9 kB / 433.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.1217, allocations: 0.5128 MB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.1229, allocations: 0.9492 MB / 435 MB, free: 3.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1229, allocations: 4 kB / 435 MB, free: 3.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004416/0.1273, allocations: 1.777 MB / 436.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1274, allocations: 8 kB / 436.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1274, allocations: 4 kB / 436.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004501/0.1319, allocations: 1.097 MB / 437.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.1323, allocations: 123.8 kB / 438 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1502/0.2825, allocations: 4.781 MB / 442.8 MB, free: 55.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.2831, allocations: 70.52 kB / 442.8 MB, free: 55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.2831, allocations: 29.44 kB / 442.9 MB, free: 55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.2833, allocations: 177.2 kB / 443 MB, free: 54.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.2834, allocations: 45.16 kB / 443.1 MB, free: 54.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/0.2874, allocations: 1.623 MB / 444.7 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2874, allocations: 6.312 kB / 444.7 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2874, allocations: 3.188 kB / 444.7 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2874, allocations: 6.609 kB / 444.7 MB, free: 54.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.2879, allocations: 0.6722 MB / 445.4 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2879, allocations: 0.625 kB / 445.4 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2881, allocations: 66.36 kB / 445.4 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004165/0.2923, allocations: 1.029 MB / 446.5 MB, free: 53.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.2924, allocations: 16.38 kB / 446.5 MB, free: 53.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006713/0.2991, allocations: 4.755 MB / 451.2 MB, free: 50.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2991, allocations: 3.844 kB / 451.3 MB, free: 50.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.3028, allocations: 1.626 MB / 452.9 MB, free: 49.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.3029, allocations: 124.5 kB / 453 MB, free: 49.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.303, allocations: 11.28 kB / 453 MB, free: 49.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.3033, allocations: 32.03 kB / 453 MB, free: 49.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3035, allocations: 44.22 kB / 453.1 MB, free: 49.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.3035, allocations: 19.78 kB / 453.1 MB, free: 49.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3037, allocations: 225.4 kB / 453.3 MB, free: 49.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3037, allocations: 0 / 453.3 MB, free: 49.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.3044, allocations: 236.6 kB / 453.6 MB, free: 49.61 MB / 366.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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.3046, allocations: 127.7 kB / 453.7 MB, free: 49.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.307, allocations: 1.332 MB / 455 MB, free: 48.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.307, allocations: 0 / 455 MB, free: 48.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.3087, allocations: 0.8237 MB / 455.8 MB, free: 48.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.309, allocations: 48.36 kB / 455.9 MB, free: 48.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3103, allocations: 1.101 MB / 457 MB, free: 47.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3105, allocations: 0.8301 MB / 457.8 MB, free: 47.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.3107, allocations: 58.48 kB / 457.9 MB, free: 47.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.3108, allocations: 39.62 kB / 457.9 MB, free: 47.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3108, allocations: 4 kB / 457.9 MB, free: 47.1 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.324, allocations: 12.75 MB / 470.7 MB, free: 46.22 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)