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.001323/0.001322, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001268/0.001268, allocations: 191 kB / 18.63 MB, free: 4.508 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.501/1.501, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.98 MB / 309.8 MB, free: 5.992 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.002703/0.002703, allocations: 59.91 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2709, allocations: 55.25 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005127/0.276, allocations: 4.703 MB / 436.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2784, allocations: 1.395 MB / 438.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2787, allocations: 15.88 kB / 438.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.2799, allocations: 400.5 kB / 438.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.2803, allocations: 246.7 kB / 438.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.2807, allocations: 175.6 kB / 438.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.2811, allocations: 0.5529 MB / 439.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.2815, allocations: 337.8 kB / 439.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.2818, allocations: 259 kB / 440.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.2822, allocations: 271 kB / 440.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.2822, allocations: 32 kB / 440.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.2825, allocations: 123.8 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2826, allocations: 191.4 kB / 440.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2828, allocations: 222.9 kB / 440.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.2833, allocations: 0.5295 MB / 441.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2833, allocations: 0 / 441.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2834, allocations: 4 kB / 441.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.2834, allocations: 0 / 441.4 MB, free: 10.07 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.0009744/0.2843, allocations: 0.7162 MB / 442.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2844, allocations: 11.89 kB / 442.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/0.285, allocations: 88.22 kB / 442.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.2856, allocations: 420 kB / 442.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2857, allocations: 29.36 kB / 442.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2858, allocations: 52.11 kB / 442.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.2863, allocations: 472.8 kB / 443.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.2864, allocations: 4 kB / 443.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.2864, allocations: 12 kB / 443.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.2865, allocations: 28.97 kB / 443.2 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.287, allocations: 351.7 kB / 443.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2888, allocations: 1.617 MB / 445.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.2891, allocations: 177.1 kB / 445.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2892, allocations: 113.7 kB / 445.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2893, allocations: 4 kB / 445.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2893, allocations: 38.5 kB / 445.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.2893, allocations: 0 / 445.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001125/0.2904, allocations: 0.7849 MB / 446.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.2905, allocations: 77.11 kB / 446.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.2907, allocations: 304.5 kB / 446.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2908, allocations: 33.7 kB / 446.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2909, allocations: 251.5 kB / 447 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.2909, allocations: 71 kB / 447 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.291, allocations: 61.59 kB / 447.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.2911, allocations: 354.8 kB / 447.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2913, allocations: 91.95 kB / 447.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2914, allocations: 196.8 kB / 447.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.2917, allocations: 332.4 kB / 448.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2918, allocations: 0 / 448.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006243/0.2924, allocations: 425.4 kB / 448.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2924, allocations: 15.27 kB / 448.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003961/0.2928, allocations: 256.9 kB / 448.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.2931, allocations: 80.78 kB / 448.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2934, allocations: 67.89 kB / 448.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.2945, allocations: 1.715 MB / 450.6 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.2947, allocations: 19.88 kB / 450.6 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.2947, allocations: 16 kB / 450.6 MB, free: 284 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.0001517/0.2949, allocations: 193.7 kB / 450.8 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.295, allocations: 31.62 kB / 450.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.2954, allocations: 260.7 kB / 451.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2954, allocations: 4 kB / 451.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.2954, allocations: 0 / 451.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2955, allocations: 4 kB / 451.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.2967, allocations: 0.7615 MB / 451.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2967, allocations: 0 / 451.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.2969, allocations: 55.91 kB / 451.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.297, allocations: 4 kB / 451.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.297, allocations: 7.875 kB / 451.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.297, allocations: 4 kB / 451.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.297, allocations: 0 / 451.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.2976, allocations: 457.5 kB / 452.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.2976, allocations: 108.7 kB / 452.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.2977, allocations: 11.94 kB / 452.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2978, allocations: 8.031 kB / 452.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.2979, allocations: 15.98 kB / 452.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2979, allocations: 8 kB / 452.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.2981, allocations: 219 kB / 452.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2981, allocations: 0 / 452.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.2985, allocations: 84 kB / 452.8 MB, free: 13.95 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.000145/0.2987, allocations: 103.2 kB / 452.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006872/0.2994, allocations: 374.5 kB / 453.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2994, allocations: 0 / 453.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2995, allocations: 107.8 kB / 453.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.3, allocations: 73.48 kB / 453.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3016, allocations: 0.9127 MB / 454.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.3021, allocations: 0.8461 MB / 455.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00018/0.3023, allocations: 70.91 kB / 455.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.3023, allocations: 23.44 kB / 455.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3023, allocations: 0 / 455.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of Templates: time 0.007616/0.31, allocations: 3.504 MB / 458.8 MB, free: 7.879 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)