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.001315/0.001315, allocations: 107.8 kB / 16.69 MB, free: 5.906 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.001172/0.001172, allocations: 190.7 kB / 17.61 MB, free: 5.473 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.339/1.339, allocations: 222.9 MB / 241.3 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04583/0.04583, allocations: 8.096 MB / 299.5 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 361.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2047, allocations: 51.52 MB / 413.4 MB, free: 25.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002386/0.2071, allocations: 1.647 MB / 415 MB, free: 24.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.2088, allocations: 1.536 MB / 416.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.2089, allocations: 4 kB / 416.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.2093, allocations: 103.6 kB / 416.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.2096, allocations: 127.3 kB / 416.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.2112, allocations: 1.109 MB / 417.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2115, allocations: 242.9 kB / 418.1 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2117, allocations: 72.22 kB / 418.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.2118, allocations: 103.6 kB / 418.3 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2119, allocations: 127.4 kB / 418.4 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.212, allocations: 27.94 kB / 418.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.2123, allocations: 251.8 kB / 418.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.2124, allocations: 51.77 kB / 418.8 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.2125, allocations: 107.5 kB / 418.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.2128, allocations: 317.2 kB / 419.2 MB, free: 19.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2128, allocations: 0 / 419.2 MB, free: 19.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2128, allocations: 0 / 419.2 MB, free: 19.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2128, allocations: 0 / 419.2 MB, free: 19.91 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.002782/0.2156, allocations: 0.9114 MB / 420.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2156, allocations: 15.89 kB / 420.1 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.2157, allocations: 28.64 kB / 420.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.216, allocations: 259.9 kB / 420.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.216, allocations: 16.7 kB / 420.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.216, allocations: 20.38 kB / 420.4 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.2164, allocations: 285.7 kB / 420.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2165, allocations: 4.125 kB / 420.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.2165, allocations: 15.94 kB / 420.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2165, allocations: 4 kB / 420.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.2168, allocations: 247.9 kB / 421 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2181, allocations: 1.141 MB / 422.1 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.2186, allocations: 314.4 kB / 422.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.2188, allocations: 156.8 kB / 422.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.2189, allocations: 4 kB / 422.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2189, allocations: 38.56 kB / 422.6 MB, free: 16.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.2189, allocations: 0 / 422.6 MB, free: 16.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003115/0.222, allocations: 0.9613 MB / 423.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.2221, allocations: 81.11 kB / 423.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2223, allocations: 207.1 kB / 423.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.2223, allocations: 29.7 kB / 423.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.2224, allocations: 136.7 kB / 424 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.2225, allocations: 98.67 kB / 424.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2226, allocations: 65.59 kB / 424.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.2226, allocations: 330.8 kB / 424.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.2229, allocations: 164 kB / 424.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2231, allocations: 197.4 kB / 424.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.2235, allocations: 358.5 kB / 425.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2235, allocations: 0 / 425.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001704/0.2252, allocations: 0.6926 MB / 425.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2252, allocations: 6.5 kB / 425.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2252, allocations: 0 / 425.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.227, allocations: 380.5 kB / 426.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.2272, allocations: 51.91 kB / 426.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.231, allocations: 2.745 MB / 429.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.2313, allocations: 31.75 kB / 429.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.2314, allocations: 11.98 kB / 429.1 MB, free: 9.492 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.0001336/0.2315, allocations: 137.8 kB / 429.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.2316, allocations: 35.64 kB / 429.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.2333, allocations: 0.6331 MB / 429.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2333, allocations: 4.062 kB / 429.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2333, allocations: 12 kB / 429.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2333, allocations: 7.922 kB / 429.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.2336, allocations: 397.2 kB / 430.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2336, allocations: 0 / 430.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2338, allocations: 39.91 kB / 430.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.2355, allocations: 384.6 kB / 430.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.2355, allocations: 4 kB / 430.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.2391, allocations: 2.715 MB / 433.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2391, allocations: 0 / 433.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.2408, allocations: 0.7034 MB / 434.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2408, allocations: 104.8 kB / 434.3 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.2409, allocations: 8 kB / 434.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2412, allocations: 19.92 kB / 434.3 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.2412, allocations: 23.97 kB / 434.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2413, allocations: 8 kB / 434.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.2414, allocations: 155.4 kB / 434.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2414, allocations: 0 / 434.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.2418, allocations: 99.94 kB / 434.6 MB, free: 3.785 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.0001755/0.242, allocations: 115.2 kB / 434.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2436, allocations: 0.6545 MB / 435.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2436, allocations: 0 / 435.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.2447, allocations: 458.4 kB / 435.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2451, allocations: 27.94 kB / 435.8 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.2459, allocations: 0.6177 MB / 436.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.246, allocations: 0.7407 MB / 437.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.2461, allocations: 23.42 kB / 437.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2461, allocations: 4 kB / 437.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of Templates: time 0.00671/0.2528, allocations: 4.855 MB / 442.1 MB, free: 12.21 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)