Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 102.2 kB / 16.57 MB, free: 6.262 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: 194.7 kB / 17.49 MB, free: 5.875 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.347/1.347, allocations: 222.9 MB / 241.2 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05187/0.05187, allocations: 8.089 MB / 299.4 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 361.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2297, allocations: 51.51 MB / 413.2 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.00248/0.2323, allocations: 1.659 MB / 414.9 MB, free: 24.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2339, allocations: 1.551 MB / 416.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.2339, allocations: 7.938 kB / 416.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.2343, allocations: 107.5 kB / 416.5 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.2346, allocations: 115.4 kB / 416.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.236, allocations: 1.016 MB / 417.7 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.2363, allocations: 234.8 kB / 417.9 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2364, allocations: 68.2 kB / 418 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.2365, allocations: 95.64 kB / 418 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.2366, allocations: 127.4 kB / 418.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.2367, allocations: 19.94 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.237, allocations: 223.8 kB / 418.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.237, allocations: 43.78 kB / 418.4 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.2371, allocations: 115.3 kB / 418.6 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.2374, allocations: 301.3 kB / 418.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2374, allocations: 0 / 418.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2374, allocations: 4 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2374, allocations: 3.938 kB / 418.9 MB, free: 20.11 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003306/0.2408, allocations: 0.9866 MB / 419.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2408, allocations: 11.97 kB / 419.9 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.248e-05/0.2409, allocations: 32.66 kB / 419.9 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.2411, allocations: 255.9 kB / 420.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2412, allocations: 16.7 kB / 420.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.2412, allocations: 24.38 kB / 420.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.2416, allocations: 294.6 kB / 420.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2416, allocations: 192 / 420.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.2417, allocations: 11.92 kB / 420.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2417, allocations: 4 kB / 420.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.242, allocations: 251.8 kB / 420.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2434, allocations: 1.172 MB / 421.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.244, allocations: 310.5 kB / 422.2 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.2442, allocations: 160.8 kB / 422.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.2442, allocations: 4 kB / 422.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2443, allocations: 38.56 kB / 422.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.2443, allocations: 0 / 422.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003689/0.248, allocations: 1.07 MB / 423.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.248, allocations: 110.8 kB / 423.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.2482, allocations: 211 kB / 423.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.2482, allocations: 29.7 kB / 423.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.2483, allocations: 136.8 kB / 424 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.2484, allocations: 86.75 kB / 424 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2485, allocations: 77.59 kB / 424.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.2486, allocations: 334.8 kB / 424.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.2488, allocations: 172.2 kB / 424.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.249, allocations: 214.4 kB / 424.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.2495, allocations: 377.5 kB / 425.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2495, allocations: 0 / 425.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001909/0.2514, allocations: 0.7475 MB / 425.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2515, allocations: 4 kB / 425.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2515, allocations: 0 / 425.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.2535, allocations: 428.4 kB / 426.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2538, allocations: 51.91 kB / 426.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/0.2578, allocations: 2.52 MB / 428.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.2582, allocations: 39.61 kB / 429 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.2583, allocations: 12 kB / 429 MB, free: 9.5 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.2584, allocations: 141.8 kB / 429.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.2585, allocations: 23.81 kB / 429.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.2605, allocations: 0.6988 MB / 429.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2605, allocations: 4 kB / 429.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2605, allocations: 0 / 429.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2605, allocations: 0 / 429.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.2608, allocations: 397.2 kB / 430.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2608, allocations: 0 / 430.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.261, allocations: 39.92 kB / 430.3 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.2629, allocations: 416.3 kB / 430.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.263, allocations: 4 kB / 430.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.2662, allocations: 2.487 MB / 433.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2663, allocations: 4 kB / 433.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2681, allocations: 0.7467 MB / 433.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.2681, allocations: 100.8 kB / 434 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.2682, allocations: 4 kB / 434 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.2686, allocations: 27.92 kB / 434 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.2687, allocations: 23.91 kB / 434.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.2687, allocations: 8 kB / 434.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2688, allocations: 160.4 kB / 434.2 MB, free: 4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2689, allocations: 0 / 434.2 MB, free: 4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004927/0.2694, allocations: 108 kB / 434.3 MB, free: 3.895 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.2696, allocations: 119.2 kB / 434.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.2709, allocations: 0.6078 MB / 435.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.271, allocations: 0 / 435.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.2719, allocations: 414.4 kB / 435.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.2722, allocations: 35.81 kB / 435.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.2731, allocations: 0.6071 MB / 436.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2732, allocations: 0.7488 MB / 436.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.2733, allocations: 27.44 kB / 436.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2733, allocations: 0 / 436.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of Templates: time 0.008257/0.2816, allocations: 4.992 MB / 441.9 MB, free: 12.27 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)