Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 110.9 kB / 17.08 MB, free: 5.777 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.001465/0.001465, allocations: 195 kB / 18.02 MB, free: 4.953 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05146/0.05146, allocations: 8.091 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 363.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002409/0.2434, allocations: 1.594 MB / 416.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.2451, allocations: 1.551 MB / 417.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.2452, allocations: 4 kB / 417.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.2455, allocations: 131.3 kB / 418 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.2458, allocations: 139.1 kB / 418.1 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.2476, allocations: 1.171 MB / 419.3 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.2479, allocations: 242.8 kB / 419.5 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2481, allocations: 84.2 kB / 419.6 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.2482, allocations: 99.64 kB / 419.7 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2484, allocations: 131.4 kB / 419.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.2484, allocations: 16 kB / 419.8 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.2488, allocations: 251.8 kB / 420.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.2489, allocations: 51.77 kB / 420.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.249, allocations: 111.5 kB / 420.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.2494, allocations: 432.5 kB / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2494, allocations: 4 kB / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2494, allocations: 0 / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2494, allocations: 0 / 420.7 MB, free: 19.43 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.002636/0.252, allocations: 0.9085 MB / 421.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2521, allocations: 15.89 kB / 421.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.2522, allocations: 24.66 kB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2524, allocations: 259.8 kB / 421.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2524, allocations: 20.7 kB / 421.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.2525, allocations: 16.38 kB / 421.9 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.2529, allocations: 294 kB / 422.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2529, allocations: 192 / 422.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.2529, allocations: 7.938 kB / 422.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2529, allocations: 4 kB / 422.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.2532, allocations: 251.8 kB / 422.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2545, allocations: 1.133 MB / 423.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.255, allocations: 310.5 kB / 423.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2552, allocations: 152.8 kB / 424 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.2552, allocations: 11.97 kB / 424.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2552, allocations: 39 kB / 424.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.2553, allocations: 0 / 424.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002889/0.2581, allocations: 0.9647 MB / 425.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.2582, allocations: 85.09 kB / 425.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2584, allocations: 203.1 kB / 425.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2584, allocations: 37.7 kB / 425.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.2585, allocations: 132.7 kB / 425.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.2585, allocations: 86.73 kB / 425.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.2586, allocations: 73.53 kB / 425.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.2587, allocations: 330.8 kB / 426 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2589, allocations: 160 kB / 426.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2591, allocations: 197.4 kB / 426.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.2595, allocations: 370.5 kB / 426.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2595, allocations: 0 / 426.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001556/0.2611, allocations: 0.6848 MB / 427.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2611, allocations: 8 kB / 427.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2611, allocations: 3.938 kB / 427.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.2628, allocations: 376.5 kB / 427.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.263, allocations: 51.97 kB / 427.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.2667, allocations: 2.752 MB / 430.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.2669, allocations: 31.73 kB / 430.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.267, allocations: 12 kB / 430.6 MB, free: 9.008 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2671, allocations: 138.5 kB / 430.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2672, allocations: 27.59 kB / 430.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.2688, allocations: 0.6442 MB / 431.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2688, allocations: 7.938 kB / 431.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2688, allocations: 0 / 431.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2688, allocations: 3.984 kB / 431.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.2691, allocations: 397.1 kB / 431.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2691, allocations: 0 / 431.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.2692, allocations: 31.98 kB / 431.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.2708, allocations: 368.5 kB / 432.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2708, allocations: 4 kB / 432.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/0.2742, allocations: 2.723 MB / 434.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2742, allocations: 0 / 434.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.2757, allocations: 0.7069 MB / 435.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.2758, allocations: 96.77 kB / 435.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2758, allocations: 8 kB / 435.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.276, allocations: 15.98 kB / 435.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.2761, allocations: 19.97 kB / 435.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.2761, allocations: 12 kB / 435.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2763, allocations: 151.5 kB / 435.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2763, allocations: 0 / 435.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.2767, allocations: 99.94 kB / 436 MB, free: 3.336 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.2769, allocations: 127.2 kB / 436.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.2783, allocations: 0.6554 MB / 436.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2783, allocations: 0 / 436.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.2794, allocations: 454.4 kB / 437.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2797, allocations: 23.94 kB / 437.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.2805, allocations: 0.517 MB / 437.8 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2807, allocations: 0.7485 MB / 438.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.2808, allocations: 25.92 kB / 438.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.2808, allocations: 23.44 kB / 438.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2808, allocations: 0 / 438.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of Templates: time 0.01/0.2908, allocations: 6.312 MB / 444.9 MB, free: 10.4 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)