Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 109.6 kB / 17.12 MB, free: 5.969 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.002005/0.002005, allocations: 191.1 kB / 18.06 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.601/2.601, allocations: 222.9 MB / 241.8 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.09201/0.09201, allocations: 8.103 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002272, allocations: 67.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1871, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.007853/0.195, allocations: 2.8 MB / 469.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.2002, allocations: 1.749 MB / 471.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.2011, allocations: 8 kB / 471.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.2024, allocations: 182.9 kB / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.2043, allocations: 262.3 kB / 471.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.2082, allocations: 1.12 MB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.21, allocations: 0.517 MB / 473.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.2106, allocations: 164.3 kB / 473.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.2113, allocations: 211.2 kB / 473.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.2121, allocations: 254.9 kB / 473.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.2124, allocations: 40 kB / 474 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.2137, allocations: 267.7 kB / 474.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.214, allocations: 99.59 kB / 474.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.2146, allocations: 250.8 kB / 474.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.2168, allocations: 0.6698 MB / 475.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.2168, allocations: 0 / 475.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2168, allocations: 3.938 kB / 475.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.2169, allocations: 0 / 475.2 MB, free: 9.551 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.01164/0.2285, allocations: 1.662 MB / 476.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.2286, allocations: 12.03 kB / 476.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.229, allocations: 52.38 kB / 477 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008781/0.2299, allocations: 364 kB / 477.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.23, allocations: 33.38 kB / 477.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.2301, allocations: 44.38 kB / 477.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.232, allocations: 0.5971 MB / 478 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.232, allocations: 11.94 kB / 478 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/0.2321, allocations: 16 kB / 478 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2322, allocations: 8 kB / 478 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.2338, allocations: 0.5389 MB / 478.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005886/0.2397, allocations: 2.223 MB / 480.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.242, allocations: 0.8887 MB / 481.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.243, allocations: 398.5 kB / 482.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003231/0.2463, allocations: 1.33 MB / 483.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/0.2464, allocations: 50.92 kB / 483.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 4.067e-06/0.2464, allocations: 0 / 483.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.01698/0.2634, allocations: 2.646 MB / 486.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.2636, allocations: 119.2 kB / 486.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.2644, allocations: 337.4 kB / 486.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.2646, allocations: 41.7 kB / 486.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.265, allocations: 201.1 kB / 486.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.2653, allocations: 189.2 kB / 487 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.2659, allocations: 134.7 kB / 487.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000279/0.2661, allocations: 362.8 kB / 487.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.2674, allocations: 397.9 kB / 487.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.2687, allocations: 0.505 MB / 488.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.2714, allocations: 0.9454 MB / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.2714, allocations: 0 / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.008307/0.2797, allocations: 1.785 MB / 491.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.2798, allocations: 4 kB / 491.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.2799, allocations: 4 kB / 491.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007765/0.2876, allocations: 1.1 MB / 492.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.2886, allocations: 115.9 kB / 492.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.3056, allocations: 5.225 MB / 497.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3068, allocations: 78.64 kB / 497.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.307, allocations: 35.97 kB / 497.6 MB, free: 2.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005894/0.3076, allocations: 181.8 kB / 497.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.3079, allocations: 39.72 kB / 497.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007814/0.3157, allocations: 1.628 MB / 499.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.3158, allocations: 15.88 kB / 499.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/0.3158, allocations: 4 kB / 499.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.3159, allocations: 3.984 kB / 499.5 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.3175, allocations: 0.6813 MB / 0.4884 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.3176, allocations: 0 / 0.4884 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.318, allocations: 59.97 kB / 0.4885 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007618/0.3257, allocations: 1.03 MB / 0.4895 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.3259, allocations: 12 kB / 0.4895 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.3432, allocations: 5.189 MB / 0.4946 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3433, allocations: 0 / 0.4946 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/0.3512, allocations: 1.624 MB / 0.4962 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.3516, allocations: 124.4 kB / 0.4963 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3518, allocations: 12 kB / 0.4963 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.3526, allocations: 19.98 kB / 0.4963 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.3529, allocations: 52.44 kB / 0.4964 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.3531, allocations: 31.92 kB / 0.4964 GB, free: 7.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004639/0.3535, allocations: 223.2 kB / 0.4966 GB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3535, allocations: 0 / 0.4966 GB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001677/0.3552, allocations: 239.8 kB / 0.4968 GB, free: 6.977 MB / 382.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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/0.3557, allocations: 131.1 kB / 0.497 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005341/0.361, allocations: 1.341 MB / 0.4983 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.3611, allocations: 0 / 0.4983 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003587/0.3647, allocations: 0.8114 MB / 0.4991 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.3656, allocations: 37.44 kB / 0.4991 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.3688, allocations: 0.9503 MB / 0.5 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.3696, allocations: 0.8371 MB / 0.5009 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3699, allocations: 43.42 kB / 0.5009 GB, free: 2.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3699, allocations: 192 / 0.5009 GB, free: 2.75 MB / 382.1 MB Notification: Performance of Templates: time 0.3727/0.7426, allocations: 9.47 MB / 0.5101 GB, free: 44.09 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)