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.001103/0.001103, allocations: 93.3 kB / 16.71 MB, free: 6.637 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.001332/0.001332, allocations: 175.3 kB / 17.62 MB, free: 6.16 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.323/1.323, allocations: 223.3 MB / 241.7 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04228/0.04228, allocations: 8.092 MB / 300.9 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 12 kB / 364.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.00126/0.2053, allocations: 1.3 MB / 418 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2068, allocations: 1.528 MB / 419.5 MB, free: 22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.2069, allocations: 8 kB / 419.5 MB, free: 21.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.2072, allocations: 111.5 kB / 419.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.2074, allocations: 107.4 kB / 419.7 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2088, allocations: 0.9993 MB / 420.7 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.2091, allocations: 234.8 kB / 420.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2092, allocations: 60.23 kB / 421 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.2093, allocations: 99.56 kB / 421.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2094, allocations: 119.4 kB / 421.2 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.2095, allocations: 8 kB / 421.2 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.2098, allocations: 219.8 kB / 421.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.2099, allocations: 43.77 kB / 421.5 MB, free: 20 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.21, allocations: 137.1 kB / 421.6 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.2103, allocations: 289.2 kB / 421.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2103, allocations: 4 kB / 421.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2103, allocations: 0 / 421.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2103, allocations: 0 / 421.9 MB, free: 19.57 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.003187/0.2135, allocations: 0.9593 MB / 422.9 MB, free: 18.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2135, allocations: 11.97 kB / 422.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.2136, allocations: 32.59 kB / 422.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2139, allocations: 255.9 kB / 423.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2139, allocations: 16.7 kB / 423.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.2139, allocations: 20.38 kB / 423.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.2144, allocations: 294.9 kB / 423.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2144, allocations: 4.172 kB / 423.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.2144, allocations: 19.88 kB / 423.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2144, allocations: 4 kB / 423.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2147, allocations: 243.9 kB / 423.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2161, allocations: 1.172 MB / 424.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.2166, allocations: 315 kB / 425.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2168, allocations: 156.8 kB / 425.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.2169, allocations: 7.984 kB / 425.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.2169, allocations: 42.55 kB / 425.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/0.2169, allocations: 4 kB / 425.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003707/0.2206, allocations: 1.059 MB / 426.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2207, allocations: 110.8 kB / 426.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.2209, allocations: 211 kB / 426.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2209, allocations: 29.7 kB / 426.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.221, allocations: 136.8 kB / 427 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.221, allocations: 82.69 kB / 427 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.2211, allocations: 41.69 kB / 427.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.2211, allocations: 334.8 kB / 427.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.2214, allocations: 175.9 kB / 427.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2216, allocations: 218.7 kB / 427.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.2221, allocations: 377.5 kB / 428.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2221, allocations: 4 kB / 428.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001942/0.224, allocations: 0.7474 MB / 428.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2241, allocations: 4 kB / 428.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2241, allocations: 4 kB / 428.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.2263, allocations: 420.4 kB / 429.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2266, allocations: 59.91 kB / 429.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.2302, allocations: 2.512 MB / 431.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.2306, allocations: 47.52 kB / 431.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.2306, allocations: 8 kB / 432 MB, free: 9.023 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.000134/0.2307, allocations: 141.8 kB / 432.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.2308, allocations: 19.8 kB / 432.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.2328, allocations: 0.6988 MB / 432.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2328, allocations: 7.938 kB / 432.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2328, allocations: 0 / 432.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2328, allocations: 0 / 432.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2331, allocations: 405.1 kB / 433.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2331, allocations: 0 / 433.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2333, allocations: 39.92 kB / 433.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/0.2353, allocations: 416.4 kB / 433.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.2354, allocations: 11.98 kB / 433.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.2387, allocations: 2.468 MB / 436.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2388, allocations: 0 / 436.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.2406, allocations: 0.7536 MB / 436.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2407, allocations: 104.8 kB / 437 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.2407, allocations: 4 kB / 437 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.241, allocations: 23.92 kB / 437 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.2411, allocations: 23.97 kB / 437 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2411, allocations: 8 kB / 437.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.2413, allocations: 156.4 kB / 437.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2413, allocations: 4 kB / 437.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.2417, allocations: 104 kB / 437.3 MB, free: 3.422 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.0001729/0.2419, allocations: 115.2 kB / 437.4 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2433, allocations: 0.6118 MB / 438 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2433, allocations: 4 kB / 438 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.2442, allocations: 406.5 kB / 438.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2446, allocations: 35.77 kB / 438.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.2453, allocations: 0.6416 MB / 439.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2455, allocations: 0.741 MB / 439.9 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.2456, allocations: 35.42 kB / 439.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2456, allocations: 0 / 439.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of Templates: time 0.007451/0.253, allocations: 4.954 MB / 444.8 MB, free: 11.8 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)