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.00109/0.00109, allocations: 97.67 kB / 16.3 MB, free: 5.656 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.001349/0.001349, allocations: 183.2 kB / 17.2 MB, free: 5.59 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.666/1.666, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2149/0.2149, allocations: 38.04 MB / 309.7 MB, free: 6.129 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.000717/0.0007171, allocations: 16 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2872, allocations: 56.33 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004029/0.2913, allocations: 4.547 MB / 437.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2932, allocations: 1.482 MB / 438.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.2934, allocations: 27.81 kB / 438.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.2937, allocations: 99.33 kB / 439 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.2941, allocations: 211.4 kB / 439.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.2945, allocations: 175.6 kB / 439.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.2948, allocations: 295.4 kB / 439.6 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000732/0.2956, allocations: 0.5471 MB / 440.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2958, allocations: 183.3 kB / 440.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2961, allocations: 183.3 kB / 440.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.2961, allocations: 16 kB / 440.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.2963, allocations: 79.88 kB / 440.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2964, allocations: 147.6 kB / 440.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.2965, allocations: 101.5 kB / 440.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.2968, allocations: 399 kB / 441.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2968, allocations: 0 / 441.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2968, allocations: 3.938 kB / 441.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2968, allocations: 0 / 441.3 MB, free: 10.34 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.0008919/0.2977, allocations: 0.6521 MB / 441.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2978, allocations: 8.031 kB / 441.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.2984, allocations: 91.33 kB / 442 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.299, allocations: 387 kB / 442.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.299, allocations: 28.92 kB / 442.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2992, allocations: 47.98 kB / 442.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.2998, allocations: 468.8 kB / 442.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2998, allocations: 3.938 kB / 442.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.2998, allocations: 12 kB / 442.9 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.2999, allocations: 28.98 kB / 443 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.3004, allocations: 347.7 kB / 443.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3021, allocations: 1.637 MB / 444.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3024, allocations: 169.1 kB / 445.1 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3024, allocations: 4.062 kB / 445.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3025, allocations: 38.5 kB / 445.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 3.687e-06/0.3025, allocations: 7.984 kB / 445.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00109/0.3036, allocations: 0.777 MB / 445.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3036, allocations: 89 kB / 446 MB, free: 5.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3038, allocations: 304.5 kB / 446.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3039, allocations: 29.7 kB / 446.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.304, allocations: 251.6 kB / 446.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.304, allocations: 78.98 kB / 446.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.304, allocations: 4 kB / 446.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.3041, allocations: 342.8 kB / 447 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.3043, allocations: 91.94 kB / 447.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.3044, allocations: 204.6 kB / 447.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3046, allocations: 127.9 kB / 447.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3046, allocations: 4 kB / 447.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006283/0.3052, allocations: 426.7 kB / 447.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3053, allocations: 4 kB / 447.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003945/0.3057, allocations: 264.6 kB / 448.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.306, allocations: 76.78 kB / 448.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3062, allocations: 76.02 kB / 448.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3074, allocations: 1.612 MB / 449.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.3076, allocations: 12 kB / 449.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3076, allocations: 12 kB / 449.9 MB, free: 1.164 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.3078, allocations: 189.8 kB / 450.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.3079, allocations: 35.58 kB / 450.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.3083, allocations: 261.8 kB / 450.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3083, allocations: 4 kB / 450.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.3083, allocations: 4.062 kB / 450.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3083, allocations: 288 / 450.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3094, allocations: 0.7652 MB / 451.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3094, allocations: 0 / 451.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.3097, allocations: 51.97 kB / 451.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/0.3097, allocations: 12.05 kB / 451.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3098, allocations: 0 / 451.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3098, allocations: 4 kB / 451.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3098, allocations: 3.938 kB / 451.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.3104, allocations: 490.5 kB / 451.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3106, allocations: 104.7 kB / 451.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3106, allocations: 16.03 kB / 451.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3108, allocations: 4 kB / 451.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.3108, allocations: 15.94 kB / 451.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.3109, allocations: 15.98 kB / 451.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.3111, allocations: 215 kB / 452.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3112, allocations: 4 kB / 452.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.3116, allocations: 84 kB / 452.1 MB, free: 14.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.3118, allocations: 103.2 kB / 452.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.3126, allocations: 375 kB / 452.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3126, allocations: 4.312 kB / 452.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.3128, allocations: 99.83 kB / 452.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3132, allocations: 72.89 kB / 452.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3147, allocations: 1.11 MB / 453.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.3152, allocations: 0.8619 MB / 454.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.3155, allocations: 70.91 kB / 454.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.3155, allocations: 23.44 kB / 454.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3155, allocations: 4 kB / 454.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Templates: time 0.007279/0.3228, allocations: 3.2 MB / 458 MB, free: 8.797 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) Environment - environmentSimulation: