Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 115.4 kB / 17.69 MB, free: 5.312 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.001075/0.001075, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1726/0.1726, allocations: 37.98 MB / 309.8 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 71.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3111, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005708/0.3169, allocations: 4.703 MB / 436.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3187, allocations: 1.395 MB / 438.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3189, allocations: 15.88 kB / 438.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3201, allocations: 398.3 kB / 438.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.3206, allocations: 242.7 kB / 438.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.3211, allocations: 179.6 kB / 438.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.3216, allocations: 0.549 MB / 439.5 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.3221, allocations: 345.8 kB / 439.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.3224, allocations: 255 kB / 440.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3228, allocations: 271 kB / 440.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.3228, allocations: 32 kB / 440.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.3231, allocations: 127.8 kB / 440.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.3233, allocations: 187.4 kB / 440.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.3235, allocations: 226.9 kB / 440.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.324, allocations: 0.5257 MB / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.324, allocations: 4 kB / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.324, allocations: 0 / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.324, allocations: 3.938 kB / 441.4 MB, free: 10.05 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001032/0.325, allocations: 0.7068 MB / 442.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3251, allocations: 11.89 kB / 442.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000693/0.3258, allocations: 92.22 kB / 442.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.3264, allocations: 420 kB / 442.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3265, allocations: 33.36 kB / 442.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3266, allocations: 48.06 kB / 442.7 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.3271, allocations: 468.8 kB / 443.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3272, allocations: 7.922 kB / 443.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3272, allocations: 19.98 kB / 443.2 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.747e-05/0.3273, allocations: 28.98 kB / 443.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3278, allocations: 339.7 kB / 443.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3295, allocations: 1.625 MB / 445.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3298, allocations: 181.1 kB / 445.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.33, allocations: 113.7 kB / 445.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.33, allocations: 0 / 445.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.33, allocations: 38.5 kB / 445.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.33, allocations: 0 / 445.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001127/0.3312, allocations: 0.7809 MB / 446.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3312, allocations: 81.11 kB / 446.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3315, allocations: 308.5 kB / 446.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3315, allocations: 25.7 kB / 446.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3316, allocations: 255.5 kB / 447 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.3317, allocations: 75 kB / 447 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.3317, allocations: 61.73 kB / 447.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.3318, allocations: 350.7 kB / 447.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.332, allocations: 91.95 kB / 447.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.3321, allocations: 192.8 kB / 447.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.3325, allocations: 332.3 kB / 448 MB, free: 2.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3325, allocations: 8 kB / 448.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006574/0.3331, allocations: 425.4 kB / 448.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3332, allocations: 8.438 kB / 448.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004177/0.3336, allocations: 264.4 kB / 448.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.3339, allocations: 76.78 kB / 448.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3342, allocations: 59.91 kB / 448.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3354, allocations: 1.719 MB / 450.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3356, allocations: 15.88 kB / 450.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3356, allocations: 16 kB / 450.6 MB, free: 264 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.3358, allocations: 197.7 kB / 450.8 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.3359, allocations: 27.62 kB / 450.8 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.3364, allocations: 268.6 kB / 451.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3364, allocations: 4 kB / 451.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3364, allocations: 0 / 451.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3364, allocations: 0 / 451.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.3375, allocations: 0.7615 MB / 451.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3376, allocations: 4 kB / 451.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3378, allocations: 51.91 kB / 451.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3378, allocations: 0 / 451.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3379, allocations: 15.88 kB / 451.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3379, allocations: 0 / 451.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3379, allocations: 4 kB / 451.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.3385, allocations: 453.5 kB / 452.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.3386, allocations: 108.7 kB / 452.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3386, allocations: 11.98 kB / 452.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3388, allocations: 7.984 kB / 452.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3388, allocations: 15.98 kB / 452.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3388, allocations: 8 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.3391, allocations: 219 kB / 452.7 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3391, allocations: 0 / 452.7 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.3395, allocations: 88 kB / 452.8 MB, free: 13.92 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.3396, allocations: 99.19 kB / 452.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006731/0.3403, allocations: 374.4 kB / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3403, allocations: 0 / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3405, allocations: 99.84 kB / 453.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.341, allocations: 89.77 kB / 453.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3424, allocations: 0.9039 MB / 454.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.3428, allocations: 0.8461 MB / 455.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.343, allocations: 74.91 kB / 455.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.3431, allocations: 31.42 kB / 455.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3431, allocations: 0 / 455.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.007649/0.3508, allocations: 3.507 MB / 458.8 MB, free: 7.848 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)