Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 104.5 kB / 16.98 MB, free: 6.137 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.001805/0.001805, allocations: 191.4 kB / 17.91 MB, free: 5.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.436/1.436, allocations: 222.9 MB / 241.6 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.05238/0.05238, allocations: 8.095 MB / 299.9 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 55.91 kB / 362.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2073, allocations: 51.52 MB / 413.9 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002461/0.2098, allocations: 1.767 MB / 415.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2113, allocations: 1.578 MB / 417.3 MB, free: 22.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.2114, allocations: 8 kB / 417.3 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.2117, allocations: 131.2 kB / 417.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.2121, allocations: 155.1 kB / 417.5 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.2135, allocations: 1.058 MB / 418.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.2137, allocations: 282.6 kB / 418.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2139, allocations: 80.69 kB / 419 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.214, allocations: 111.6 kB / 419.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2141, allocations: 147.4 kB / 419.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.2142, allocations: 20 kB / 419.2 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.2146, allocations: 247.7 kB / 419.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.2146, allocations: 51.83 kB / 419.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.2147, allocations: 139.3 kB / 419.7 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.2151, allocations: 452.7 kB / 420.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2151, allocations: 0 / 420.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2151, allocations: 0 / 420.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2151, allocations: 0 / 420.1 MB, free: 19.39 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00365/0.2188, allocations: 1.1 MB / 421.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2188, allocations: 15.89 kB / 421.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.2189, allocations: 28.56 kB / 421.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2191, allocations: 275.6 kB / 421.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2192, allocations: 20.69 kB / 421.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.2192, allocations: 28.38 kB / 421.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.2197, allocations: 347.8 kB / 421.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2197, allocations: 192 / 421.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.2197, allocations: 11.94 kB / 421.9 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2197, allocations: 4 kB / 421.9 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.2201, allocations: 295.3 kB / 422.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.2216, allocations: 1.354 MB / 423.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.2223, allocations: 384.2 kB / 423.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.2225, allocations: 172.8 kB / 424.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/0.2231, allocations: 0.6932 MB / 424.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2232, allocations: 38.8 kB / 424.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.2232, allocations: 0 / 424.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003264/0.2264, allocations: 1.129 MB / 426 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2265, allocations: 110.8 kB / 426.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2267, allocations: 228.9 kB / 426.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2267, allocations: 37.7 kB / 426.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.2268, allocations: 148.5 kB / 426.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.2268, allocations: 90.66 kB / 426.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2269, allocations: 82.11 kB / 426.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.227, allocations: 338.8 kB / 427 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2272, allocations: 196.8 kB / 427.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.2275, allocations: 259.2 kB / 427.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.228, allocations: 480.7 kB / 427.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2281, allocations: 3.938 kB / 427.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0018/0.2299, allocations: 0.8183 MB / 428.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2299, allocations: 7.938 kB / 428.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2299, allocations: 4 kB / 428.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/0.2318, allocations: 425.2 kB / 429.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2321, allocations: 71.89 kB / 429.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.2358, allocations: 4.031 MB / 433.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.2361, allocations: 43.53 kB / 433.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2362, allocations: 15.98 kB / 433.3 MB, free: 5.406 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.2363, allocations: 149.7 kB / 433.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.2364, allocations: 27.72 kB / 433.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.2382, allocations: 0.736 MB / 434.2 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2382, allocations: 4 kB / 434.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2382, allocations: 0 / 434.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2382, allocations: 0 / 434.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2386, allocations: 417.2 kB / 434.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2386, allocations: 3.938 kB / 434.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.2387, allocations: 47.92 kB / 434.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.2405, allocations: 409.3 kB / 435.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2406, allocations: 4 kB / 435.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.2445, allocations: 4.02 MB / 439.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2445, allocations: 4.031 kB / 439.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.2464, allocations: 0.7704 MB / 439.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.2465, allocations: 104.7 kB / 440 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.2466, allocations: 4 kB / 440 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.2468, allocations: 19.98 kB / 440 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.2469, allocations: 23.97 kB / 440 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.247, allocations: 15.94 kB / 440 MB, free: 14.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.2471, allocations: 160.5 kB / 440.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2471, allocations: 0 / 440.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005325/0.2477, allocations: 127.8 kB / 440.3 MB, free: 14 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.2479, allocations: 127.1 kB / 440.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.2496, allocations: 0.772 MB / 441.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2496, allocations: 0 / 441.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2507, allocations: 0.5092 MB / 441.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.251, allocations: 24.42 kB / 441.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2521, allocations: 0.5802 MB / 442.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.2524, allocations: 0.7571 MB / 443.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.2525, allocations: 31.42 kB / 443.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2525, allocations: 0 / 443.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of Templates: time 0.008472/0.261, allocations: 6.384 MB / 449.5 MB, free: 4.703 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)