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.001005/0.001005, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001242/0.001242, allocations: 182 kB / 17.56 MB, free: 6.203 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.556/1.556, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1774/0.1774, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.0005147/0.0005148, allocations: 12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2846, allocations: 56.34 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00462/0.2892, allocations: 4.947 MB / 438.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2914, allocations: 1.563 MB / 440 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.2917, allocations: 27.81 kB / 440 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.292, allocations: 79.44 kB / 440.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.2925, allocations: 215 kB / 440.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.2929, allocations: 167.7 kB / 440.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.2934, allocations: 0.7908 MB / 441.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008209/0.2942, allocations: 0.5952 MB / 441.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.2945, allocations: 203 kB / 442.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.2948, allocations: 267 kB / 442.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2948, allocations: 16 kB / 442.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.2951, allocations: 119.8 kB / 442.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.2952, allocations: 167.5 kB / 442.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.2954, allocations: 232.5 kB / 442.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.2958, allocations: 0.4982 MB / 443.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2958, allocations: 4 kB / 443.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2958, allocations: 11.98 kB / 443.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.443e-06/0.2958, allocations: 0 / 443.4 MB, free: 8.738 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.000919/0.2968, allocations: 0.6289 MB / 444 MB, free: 8.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2968, allocations: 8.031 kB / 444 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006666/0.2975, allocations: 92.25 kB / 444.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.298, allocations: 408 kB / 444.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.298, allocations: 25.38 kB / 444.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.2982, allocations: 48.11 kB / 444.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.2988, allocations: 476.8 kB / 445 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.2988, allocations: 4 kB / 445 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.2988, allocations: 12 kB / 445 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.626e-05/0.2989, allocations: 32.92 kB / 445.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.2994, allocations: 347.7 kB / 445.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.3011, allocations: 1.641 MB / 447.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3014, allocations: 165.2 kB / 447.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3016, allocations: 117.6 kB / 447.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3016, allocations: 11.98 kB / 447.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3016, allocations: 38.5 kB / 447.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.3016, allocations: 0 / 447.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001075/0.3027, allocations: 0.7842 MB / 448.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3028, allocations: 81.05 kB / 448.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.303, allocations: 316.6 kB / 448.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.303, allocations: 25.7 kB / 448.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3031, allocations: 251.5 kB / 448.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3032, allocations: 75 kB / 448.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.3032, allocations: 29.7 kB / 448.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.3033, allocations: 346.8 kB / 449.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3035, allocations: 87.95 kB / 449.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3036, allocations: 204.7 kB / 449.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.3039, allocations: 340.3 kB / 449.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3039, allocations: 0 / 449.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006317/0.3046, allocations: 425.5 kB / 450.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3046, allocations: 11.98 kB / 450.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004077/0.305, allocations: 260.5 kB / 450.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.3053, allocations: 77.09 kB / 450.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3056, allocations: 71.89 kB / 450.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.307, allocations: 1.589 MB / 452.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3072, allocations: 8 kB / 452.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3072, allocations: 19.98 kB / 452.3 MB, free: 15.18 MB / 334.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.0002251/0.3075, allocations: 193.6 kB / 452.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.3075, allocations: 31.61 kB / 452.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.3079, allocations: 268.6 kB / 452.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.308, allocations: 11.94 kB / 452.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.308, allocations: 0 / 452.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.308, allocations: 3.984 kB / 452.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3091, allocations: 0.7459 MB / 453.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3091, allocations: 0 / 453.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.3094, allocations: 59.97 kB / 453.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3094, allocations: 0 / 453.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3094, allocations: 8 kB / 453.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3094, allocations: 4 kB / 453.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3094, allocations: 3.938 kB / 453.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.31, allocations: 457.5 kB / 454.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.3101, allocations: 108.7 kB / 454.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.3101, allocations: 12 kB / 454.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3103, allocations: 7.938 kB / 454.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3103, allocations: 11.98 kB / 454.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.3103, allocations: 11.98 kB / 454.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.3106, allocations: 215.1 kB / 454.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3106, allocations: 0 / 454.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.311, allocations: 84 kB / 454.5 MB, free: 12.84 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.0001318/0.3111, allocations: 111.1 kB / 454.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.3118, allocations: 370.2 kB / 455 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3118, allocations: 0.875 kB / 455 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3119, allocations: 103.9 kB / 455.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.3125, allocations: 61.39 kB / 455.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3139, allocations: 1.151 MB / 456.3 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3143, allocations: 0.8463 MB / 457.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.3145, allocations: 74.84 kB / 457.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.3146, allocations: 31.42 kB / 457.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3146, allocations: 0 / 457.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Templates: time 0.006538/0.3211, allocations: 3.298 MB / 460.6 MB, free: 6.742 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: