Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 92.2 kB / 16.71 MB, free: 6.633 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.0008762/0.0008763, allocations: 172 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.301/1.301, allocations: 223.3 MB / 241.7 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04277/0.04277, allocations: 8.093 MB / 300.9 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 11.98 kB / 364.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2106, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001049/0.2117, allocations: 0.9572 MB / 417.6 MB, free: 23.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.213, allocations: 1.462 MB / 419.1 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.2131, allocations: 7.938 kB / 419.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.2134, allocations: 99.58 kB / 419.2 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.2136, allocations: 83.59 kB / 419.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.2148, allocations: 0.9738 MB / 420.2 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.215, allocations: 155.2 kB / 420.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2151, allocations: 37.55 kB / 420.4 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.2152, allocations: 67.77 kB / 420.5 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2153, allocations: 79.55 kB / 420.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.2153, allocations: 8 kB / 420.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.2156, allocations: 215.8 kB / 420.8 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.2157, allocations: 27.8 kB / 420.8 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.2157, allocations: 97.34 kB / 420.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.216, allocations: 233.3 kB / 421.1 MB, free: 20.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.216, allocations: 0 / 421.1 MB, free: 20.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.216, allocations: 8 kB / 421.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.216, allocations: 0 / 421.1 MB, free: 20.32 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001967/0.218, allocations: 0.6942 MB / 421.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.218, allocations: 11.97 kB / 421.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.2181, allocations: 20.75 kB / 421.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2183, allocations: 224.1 kB / 422.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2183, allocations: 12.61 kB / 422.1 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.2183, allocations: 12.38 kB / 422.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.2186, allocations: 198 kB / 422.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2186, allocations: 192 / 422.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.2187, allocations: 11.94 kB / 422.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.2187, allocations: 3.938 kB / 422.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.2189, allocations: 160.6 kB / 422.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.2198, allocations: 0.7301 MB / 423.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.2203, allocations: 210.4 kB / 423.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2204, allocations: 92.83 kB / 423.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.2205, allocations: 0 / 423.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.2205, allocations: 38.56 kB / 423.5 MB, free: 17.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.2205, allocations: 0 / 423.5 MB, free: 17.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001854/0.2224, allocations: 0.5849 MB / 424.1 MB, free: 17.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2224, allocations: 85.05 kB / 424.2 MB, free: 17.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2225, allocations: 176.2 kB / 424.4 MB, free: 16.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2226, allocations: 37.7 kB / 424.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.2226, allocations: 116.4 kB / 424.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.2227, allocations: 55.2 kB / 424.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2227, allocations: 29.7 kB / 424.6 MB, free: 16.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2228, allocations: 322.8 kB / 424.9 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2229, allocations: 99.97 kB / 425 MB, free: 16.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2231, allocations: 126.3 kB / 425.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.2233, allocations: 242 kB / 425.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2234, allocations: 0 / 425.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00101/0.2244, allocations: 414 kB / 425.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2244, allocations: 11.98 kB / 425.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2244, allocations: 3.938 kB / 425.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.2255, allocations: 204.6 kB / 426 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.2257, allocations: 47.84 kB / 426.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.2278, allocations: 1.81 MB / 427.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.228, allocations: 27.72 kB / 427.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.228, allocations: 8 kB / 427.9 MB, free: 13.12 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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.2281, allocations: 129.8 kB / 428 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.2281, allocations: 11.81 kB / 428 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.2292, allocations: 402.4 kB / 428.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2292, allocations: 0 / 428.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2292, allocations: 4 kB / 428.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2292, allocations: 3.984 kB / 428.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.2294, allocations: 297.4 kB / 428.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2295, allocations: 0 / 428.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.2296, allocations: 23.98 kB / 428.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009858/0.2306, allocations: 200.6 kB / 428.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2306, allocations: 4 kB / 429 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.2325, allocations: 1.8 MB / 430.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2325, allocations: 7.938 kB / 430.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.2334, allocations: 443.8 kB / 431.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.2335, allocations: 104.8 kB / 431.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.2335, allocations: 4 kB / 431.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2337, allocations: 15.98 kB / 431.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2338, allocations: 19.98 kB / 431.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2338, allocations: 4 kB / 431.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2339, allocations: 132.2 kB / 431.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2339, allocations: 0 / 431.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.2343, allocations: 71.88 kB / 431.5 MB, free: 9.25 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.2344, allocations: 121.1 kB / 431.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.2353, allocations: 412.9 kB / 432.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2353, allocations: 4 kB / 432.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.2358, allocations: 274.6 kB / 432.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2362, allocations: 19.84 kB / 432.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.2367, allocations: 475.3 kB / 432.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2368, allocations: 0.7245 MB / 433.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.2369, allocations: 23.42 kB / 433.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2369, allocations: 0 / 433.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of Templates: time 0.004238/0.2412, allocations: 3.459 MB / 437 MB, free: 3.688 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)