Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009876, allocations: 95.22 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.0008991/0.0008991, allocations: 185.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.308/1.308, allocations: 223.3 MB / 241.7 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04057/0.04057, allocations: 8.101 MB / 300.9 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002966, allocations: 8 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2102, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001104/0.2114, allocations: 0.7743 MB / 417.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2129, allocations: 1.427 MB / 418.9 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.213, allocations: 4 kB / 418.9 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.2132, allocations: 91.67 kB / 418.9 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.2134, allocations: 75.66 kB / 419 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2146, allocations: 0.8318 MB / 419.9 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.2148, allocations: 103.5 kB / 420 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.2149, allocations: 28.97 kB / 420 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.2149, allocations: 39.84 kB / 420 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.215, allocations: 55.72 kB / 420.1 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.215, allocations: 4 kB / 420.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.2153, allocations: 203.8 kB / 420.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.2153, allocations: 19.91 kB / 420.3 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.2154, allocations: 77.38 kB / 420.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.2156, allocations: 193.5 kB / 420.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2156, allocations: 0 / 420.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2156, allocations: 0 / 420.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2156, allocations: 0 / 420.6 MB, free: 20.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001657/0.2173, allocations: 0.6317 MB / 421.2 MB, free: 20.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2173, allocations: 11.97 kB / 421.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.2174, allocations: 12.84 kB / 421.2 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2175, allocations: 208.1 kB / 421.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2175, allocations: 8.375 kB / 421.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.2176, allocations: 12.38 kB / 421.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2178, allocations: 163.8 kB / 421.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2178, allocations: 192 / 421.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2179, allocations: 11.94 kB / 421.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2179, allocations: 0 / 421.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.218, allocations: 116 kB / 421.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.2186, allocations: 0.5003 MB / 422.2 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.2193, allocations: 166.6 kB / 422.4 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.2193, allocations: 52.84 kB / 422.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.2197, allocations: 454.2 kB / 422.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2197, allocations: 42.56 kB / 422.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2197, allocations: 0 / 422.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007206/0.2204, allocations: 295.3 kB / 423.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2205, allocations: 81.11 kB / 423.3 MB, free: 17.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2206, allocations: 159.8 kB / 423.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2206, allocations: 29.7 kB / 423.5 MB, free: 17.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.2207, allocations: 119.8 kB / 423.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2207, allocations: 35.53 kB / 423.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.2207, allocations: 29.7 kB / 423.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.2208, allocations: 318.8 kB / 424 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.2209, allocations: 63.92 kB / 424 MB, free: 17.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.221, allocations: 116.2 kB / 424.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.2212, allocations: 172.9 kB / 424.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2212, allocations: 7.938 kB / 424.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004799/0.2217, allocations: 256.4 kB / 424.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2217, allocations: 4 kB / 424.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2217, allocations: 4 kB / 424.6 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.2221, allocations: 68.95 kB / 424.7 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2223, allocations: 43.86 kB / 424.7 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009571/0.2232, allocations: 1.386 MB / 426.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2234, allocations: 19.84 kB / 426.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2234, allocations: 4 kB / 426.1 MB, free: 14.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.2235, allocations: 129.9 kB / 426.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.2235, allocations: 15.83 kB / 426.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.224, allocations: 183.1 kB / 426.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.224, allocations: 4 kB / 426.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.224, allocations: 0 / 426.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.224, allocations: 3.984 kB / 426.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2242, allocations: 237.8 kB / 426.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2242, allocations: 4 kB / 426.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.2243, allocations: 15.94 kB / 426.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.2246, allocations: 68.73 kB / 426.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2246, allocations: 3.938 kB / 426.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008495/0.2255, allocations: 1.37 MB / 428.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2255, allocations: 4.156 kB / 428.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.2259, allocations: 264.2 kB / 428.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.226, allocations: 92.92 kB / 428.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.226, allocations: 3.984 kB / 428.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2261, allocations: 8 kB / 428.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.2261, allocations: 15.92 kB / 428.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2261, allocations: 4 kB / 428.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.2262, allocations: 121.5 kB / 428.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2262, allocations: 0 / 428.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.2265, allocations: 40 kB / 428.7 MB, free: 12.09 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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.2267, allocations: 123.1 kB / 428.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.2272, allocations: 262.6 kB / 429 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2272, allocations: 0 / 429 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.2275, allocations: 174.9 kB / 429.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2277, allocations: 16 kB / 429.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.2281, allocations: 352.9 kB / 429.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.682e-05/0.2283, allocations: 0.7048 MB / 430.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.2283, allocations: 19.44 kB / 430.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2283, allocations: 0 / 430.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Templates: time 0.003381/0.2317, allocations: 2.362 MB / 432.7 MB, free: 8.008 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)