Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 108.1 kB / 17.07 MB, free: 6.062 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.001218/0.001219, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05655/0.05655, allocations: 8.097 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 363.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2201, allocations: 51.51 MB / 414.7 MB, free: 25.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002339/0.2225, allocations: 1.559 MB / 416.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2239, allocations: 1.543 MB / 417.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.224, allocations: 8 kB / 417.8 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.2243, allocations: 119.4 kB / 417.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.2246, allocations: 111.2 kB / 418 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.2258, allocations: 0.918 MB / 418.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.2261, allocations: 234.9 kB / 419.2 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2263, allocations: 80.22 kB / 419.2 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.2263, allocations: 99.58 kB / 419.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2265, allocations: 127.4 kB / 419.5 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.2265, allocations: 20 kB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.2268, allocations: 199.8 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.2269, allocations: 51.77 kB / 419.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.227, allocations: 111.5 kB / 419.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.2273, allocations: 388.6 kB / 420.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2273, allocations: 0 / 420.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2274, allocations: 4 kB / 420.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2274, allocations: 0 / 420.2 MB, free: 19.84 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.002142/0.2295, allocations: 0.8072 MB / 421 MB, free: 18.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2296, allocations: 11.89 kB / 421 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.2296, allocations: 28.66 kB / 421.1 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2299, allocations: 255.9 kB / 421.3 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2299, allocations: 20.69 kB / 421.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.23, allocations: 16.38 kB / 421.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.2303, allocations: 260.3 kB / 421.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2303, allocations: 4.188 kB / 421.6 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2303, allocations: 7.938 kB / 421.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2304, allocations: 4 kB / 421.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.2307, allocations: 247.8 kB / 421.9 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2318, allocations: 1.121 MB / 423 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.2324, allocations: 314.5 kB / 423.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2326, allocations: 152.8 kB / 423.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.2326, allocations: 7.984 kB / 423.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.2326, allocations: 38.56 kB / 423.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.2327, allocations: 0 / 423.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002776/0.2354, allocations: 0.9768 MB / 424.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.2355, allocations: 51.41 kB / 424.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2356, allocations: 190.4 kB / 424.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2357, allocations: 37.69 kB / 424.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.2357, allocations: 124.4 kB / 424.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.2358, allocations: 94.67 kB / 425 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.2359, allocations: 65.59 kB / 425 MB, free: 14.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.236, allocations: 326.8 kB / 425.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2362, allocations: 163.9 kB / 425.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.2363, allocations: 157.1 kB / 425.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.2367, allocations: 350.3 kB / 426 MB, free: 13.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2368, allocations: 0 / 426 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001274/0.238, allocations: 0.6382 MB / 426.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2381, allocations: 8 kB / 426.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2381, allocations: 4 kB / 426.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.2393, allocations: 316.5 kB / 427 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2395, allocations: 47.91 kB / 427 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.2429, allocations: 2.756 MB / 429.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2431, allocations: 31.67 kB / 429.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2432, allocations: 12 kB / 429.8 MB, free: 9.801 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 (27): * Single equations (assignments): 26 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2433, allocations: 137.8 kB / 429.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2433, allocations: 19.81 kB / 430 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2447, allocations: 0.6247 MB / 430.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2447, allocations: 3.938 kB / 430.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2447, allocations: 7.938 kB / 430.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2447, allocations: 0 / 430.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.245, allocations: 377.2 kB / 431 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.245, allocations: 0 / 431 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.2451, allocations: 35.92 kB / 431 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.2463, allocations: 316.5 kB / 431.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2463, allocations: 8 kB / 431.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.2493, allocations: 2.723 MB / 434 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2493, allocations: 4 kB / 434 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.2505, allocations: 0.6719 MB / 434.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.2506, allocations: 104.8 kB / 434.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2506, allocations: 4.125 kB / 434.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2508, allocations: 12 kB / 434.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.2509, allocations: 23.97 kB / 434.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.2509, allocations: 15.98 kB / 434.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.251, allocations: 143.1 kB / 435 MB, free: 4.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2511, allocations: 4 kB / 435 MB, free: 4.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.2515, allocations: 99.94 kB / 435.1 MB, free: 4.238 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 (20): * Single equations (assignments): 19 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.2517, allocations: 115.2 kB / 435.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.2529, allocations: 0.6238 MB / 435.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2529, allocations: 0 / 435.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.2537, allocations: 442.4 kB / 436.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2541, allocations: 23.94 kB / 436.3 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.2548, allocations: 0.4934 MB / 436.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.255, allocations: 0.7446 MB / 437.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.2551, allocations: 33.91 kB / 437.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.2551, allocations: 23.38 kB / 437.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2551, allocations: 0 / 437.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of Templates: time 0.009545/0.2647, allocations: 5.976 MB / 443.6 MB, free: 11.73 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)