Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001525, allocations: 104.8 kB / 16.56 MB, free: 6.73 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.001755/0.001755, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.43/1.43, allocations: 222.9 MB / 241.2 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04941/0.04941, allocations: 8.097 MB / 299.4 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 59.91 kB / 361.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2368, allocations: 51.52 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.00209/0.2389, allocations: 1.114 MB / 414.3 MB, free: 24.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2403, allocations: 1.45 MB / 415.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.2404, allocations: 4 kB / 415.8 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.2407, allocations: 95.67 kB / 415.9 MB, free: 23.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.2409, allocations: 71.66 kB / 415.9 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.242, allocations: 0.8524 MB / 416.8 MB, free: 22.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.2422, allocations: 107.4 kB / 416.9 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2423, allocations: 36.95 kB / 416.9 MB, free: 22.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.2424, allocations: 39.86 kB / 417 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.2425, allocations: 55.75 kB / 417 MB, free: 22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2425, allocations: 4 kB / 417 MB, free: 22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.2428, allocations: 207.8 kB / 417.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.2428, allocations: 15.91 kB / 417.2 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.2429, allocations: 51.73 kB / 417.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.2431, allocations: 201.5 kB / 417.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2431, allocations: 0 / 417.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2431, allocations: 0 / 417.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2431, allocations: 4 kB / 417.5 MB, free: 21.53 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001709/0.2448, allocations: 0.6356 MB / 418.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2449, allocations: 19.95 kB / 418.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.2449, allocations: 12.75 kB / 418.2 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2451, allocations: 209 kB / 418.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2451, allocations: 12.33 kB / 418.4 MB, free: 20.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.2451, allocations: 8.375 kB / 418.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2453, allocations: 159.8 kB / 418.5 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2454, allocations: 192 / 418.5 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2454, allocations: 7.938 kB / 418.5 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2454, allocations: 4 kB / 418.6 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.2456, allocations: 119.9 kB / 418.7 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.2462, allocations: 496.3 kB / 419.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.2468, allocations: 178.6 kB / 419.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.2469, allocations: 48.84 kB / 419.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.2473, allocations: 458.2 kB / 419.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2473, allocations: 30.56 kB / 419.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2473, allocations: 4 kB / 419.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007102/0.248, allocations: 295.3 kB / 420.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2481, allocations: 81.11 kB / 420.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2482, allocations: 163.6 kB / 420.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2482, allocations: 29.7 kB / 420.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.2482, allocations: 115.7 kB / 420.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2483, allocations: 43.44 kB / 420.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.2483, allocations: 37.7 kB / 420.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.2484, allocations: 326.8 kB / 420.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.2485, allocations: 63.97 kB / 421 MB, free: 17.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.2486, allocations: 112.2 kB / 421.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2488, allocations: 177.1 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2488, allocations: 336 / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004531/0.2492, allocations: 260.8 kB / 421.5 MB, free: 17.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2492, allocations: 7.938 kB / 421.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2493, allocations: 3.938 kB / 421.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.2497, allocations: 76.89 kB / 421.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2498, allocations: 31.98 kB / 421.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.2508, allocations: 1.378 MB / 423 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2509, allocations: 23.77 kB / 423 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2509, allocations: 12 kB / 423.1 MB, free: 15.48 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 (21): * Single equations (assignments): 20 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.508e-05/0.251, allocations: 125.9 kB / 423.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.2511, allocations: 11.84 kB / 423.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.2515, allocations: 191.1 kB / 423.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2515, allocations: 4 kB / 423.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.2515, allocations: 4 kB / 423.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2515, allocations: 0 / 423.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2517, allocations: 237.4 kB / 423.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2517, allocations: 0 / 423.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.2518, allocations: 16 kB / 423.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.2521, allocations: 68.8 kB / 423.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2521, allocations: 0 / 423.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008336/0.253, allocations: 1.366 MB / 425.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.253, allocations: 0 / 425.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.2533, allocations: 276.1 kB / 425.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.2534, allocations: 85.02 kB / 425.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2534, allocations: 12.08 kB / 425.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2535, allocations: 7.938 kB / 425.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.2535, allocations: 8.359 kB / 425.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2536, allocations: 4 kB / 425.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.508e-05/0.2536, allocations: 122.7 kB / 425.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2536, allocations: 0 / 425.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.2539, allocations: 43.94 kB / 425.6 MB, free: 12.68 MB / 302.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 (10): * Single equations (assignments): 9 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.2541, allocations: 115.2 kB / 425.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005078/0.2546, allocations: 274.4 kB / 426 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2546, allocations: 4.312 kB / 426 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.2549, allocations: 178.7 kB / 426.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2551, allocations: 8.438 kB / 426.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.2556, allocations: 333.4 kB / 426.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2558, allocations: 0.7048 MB / 427.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.2558, allocations: 15.42 kB / 427.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2558, allocations: 0 / 427.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003439/0.2593, allocations: 2.378 MB / 429.6 MB, free: 8.598 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)