Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 181.5 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 86.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2637/0.2637, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.751e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/0.6307, allocations: 112.5 MB / 0.5651 GB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.6311, allocations: 97.42 kB / 0.5652 GB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1341/0.7652, allocations: 29.7 MB / 0.5942 GB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7652, allocations: 0 / 0.5942 GB, free: 6.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.335e-05/0.7653, allocations: 20 kB / 0.5943 GB, free: 6.305 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003408/0.7687, allocations: 1.04 MB / 0.5953 GB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.7688, allocations: 16.03 kB / 0.5953 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.7709, allocations: 193.9 kB / 0.5955 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005426/0.7763, allocations: 1.2 MB / 0.5966 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.7765, allocations: 32 kB / 0.5967 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.7768, allocations: 48 kB / 0.5967 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/0.7789, allocations: 0.7074 MB / 0.5974 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.7813, allocations: 0.949 MB / 0.5983 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/0.7814, allocations: 15.66 kB / 0.5983 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.7815, allocations: 0 / 0.5983 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.7817, allocations: 61.34 kB / 0.5984 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008998/0.7907, allocations: 3.827 MB / 0.6021 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.7919, allocations: 0.4953 MB / 0.6026 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.7926, allocations: 276.4 kB / 0.6029 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.7927, allocations: 12.44 kB / 0.6029 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.7927, allocations: 34.88 kB / 0.6029 GB, free: 14.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 3.737e-06/0.7928, allocations: 0 / 0.6029 GB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.003963/0.7967, allocations: 1.44 MB / 0.6043 GB, free: 13.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.7968, allocations: 81.55 kB / 0.6044 GB, free: 13.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/0.7976, allocations: 429.8 kB / 0.6048 GB, free: 12.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/0.7977, allocations: 29.7 kB / 0.6049 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.7982, allocations: 0.4885 MB / 0.6053 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.7984, allocations: 194.4 kB / 0.6055 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.7985, allocations: 0 / 0.6055 GB, free: 12.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7987, allocations: 343.5 kB / 0.6058 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.7993, allocations: 227.7 kB / 0.6061 GB, free: 11.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.8001, allocations: 455.2 kB / 0.6065 GB, free: 11.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.8009, allocations: 319.6 kB / 0.6068 GB, free: 11.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8009, allocations: 4 kB / 0.6068 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003094/0.804, allocations: 0.9985 MB / 0.6078 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.8041, allocations: 8 kB / 0.6078 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002398/0.8065, allocations: 0.7697 MB / 0.6085 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.8078, allocations: 224.4 kB / 0.6088 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.8089, allocations: 154.4 kB / 0.6089 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008499/0.8175, allocations: 5.246 MB / 0.614 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.8184, allocations: 20.08 kB / 0.614 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/0.8185, allocations: 39.89 kB / 0.6141 GB, free: 4.035 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: generator.psi_s[2]:DUMMY_STATE(unit = "Wb" protected = true ) "magnetic flux stator dq" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.8188, allocations: 124.7 kB / 0.6142 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.819, allocations: 67.16 kB / 0.6143 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.8206, allocations: 0.5689 MB / 0.6148 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8206, allocations: 4 kB / 0.6148 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8206, allocations: 3.984 kB / 0.6148 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.8207, allocations: 4 kB / 0.6148 GB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.8247, allocations: 1.351 MB / 0.6162 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.8248, allocations: 0 / 0.6162 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.8261, allocations: 127.9 kB / 0.6163 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.8261, allocations: 8.156 kB / 0.6163 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.8262, allocations: 4 kB / 0.6163 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.8262, allocations: 15.88 kB / 0.6163 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8262, allocations: 0 / 0.6163 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.8283, allocations: 0.9634 MB / 0.6172 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.8289, allocations: 184.2 kB / 0.6174 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.829, allocations: 11.94 kB / 0.6174 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.8296, allocations: 23.86 kB / 0.6175 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.8297, allocations: 36.33 kB / 0.6175 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.8298, allocations: 16 kB / 0.6175 GB, free: 376 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006079/0.8304, allocations: 322.9 kB / 0.6178 GB, free: 56 kB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.8304, allocations: 0 / 0.6178 GB, free: 56 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001309/0.8317, allocations: 192.1 kB / 0.618 GB, free: 15.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.0003422/0.8321, allocations: 155 kB / 0.6181 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.8346, allocations: 0.9593 MB / 0.6191 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8346, allocations: 4.188 kB / 0.6191 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.8353, allocations: 253.5 kB / 0.6193 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.8364, allocations: 110 kB / 0.6194 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.8412, allocations: 1.72 MB / 0.6211 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.8424, allocations: 1.102 MB / 0.6222 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.8428, allocations: 51.44 kB / 0.6222 GB, free: 11.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.8429, allocations: 3.938 kB / 0.6222 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Templates: time 0.03253/0.8754, allocations: 14.07 MB / 0.636 GB, free: 13.32 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)