Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002378, allocations: 179.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008603/0.0008602, allocations: 97.09 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06159/0.06159, allocations: 12.59 MB / 321.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2955/0.2955, allocations: 78.05 MB / 450.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.55e-06, allocations: 4 kB / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 69.32 MB / 0.5818 GB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.4069, allocations: 102.3 MB / 0.6817 GB, free: 5.953 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4072, allocations: 81.19 kB / 0.6818 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2525/0.6598, allocations: 95.37 MB / 0.7749 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000549/0.6604, allocations: 87.94 kB / 0.775 GB, free: 1.148 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02664/0.6871, allocations: 5.961 MB / 0.7808 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.6871, allocations: 11.97 kB / 0.7808 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/0.7096, allocations: 2.924 MB / 0.7837 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.7158, allocations: 2.237 MB / 0.7859 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.7169, allocations: 0.8869 MB / 0.7867 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.7181, allocations: 196 kB / 0.7869 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008255/0.7264, allocations: 3.439 MB / 0.7903 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008779/0.7352, allocations: 3.578 MB / 0.7938 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/0.7353, allocations: 0 / 0.7938 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.7356, allocations: 0 / 0.7938 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/0.7357, allocations: 84 kB / 0.7939 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.7718, allocations: 18.53 MB / 0.812 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004181/0.776, allocations: 2.255 MB / 0.8142 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.7795, allocations: 2.112 MB / 0.8162 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.7799, allocations: 78.84 kB / 0.8163 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004181/0.7841, allocations: 2.465 MB / 0.8187 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=382): time 5.48e-06/0.7841, allocations: 0 / 0.8187 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of matching and sorting (n=382): time 0.05854/0.8427, allocations: 18.38 MB / 0.8367 GB, free: 496 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.8428, allocations: 141.8 kB / 0.8368 GB, free: 328 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/0.8478, allocations: 2.44 MB / 0.8392 GB, free: 13.87 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001211/0.849, allocations: 29.73 kB / 0.8392 GB, free: 13.83 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.8501, allocations: 1.182 MB / 0.8404 GB, free: 12.63 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003963/0.854, allocations: 1.239 MB / 0.8416 GB, free: 11.38 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.8545, allocations: 4 kB / 0.8416 GB, free: 11.37 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003065/0.8548, allocations: 445.6 kB / 0.842 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/0.8598, allocations: 1.769 MB / 0.8437 GB, free: 9.16 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/0.8645, allocations: 2.321 MB / 0.846 GB, free: 6.637 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/0.87, allocations: 1.961 MB / 0.8479 GB, free: 4.664 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.87, allocations: 4 kB / 0.8479 GB, free: 4.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.0645/0.9345, allocations: 18.41 MB / 0.8659 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9346, allocations: 7.938 kB / 0.8659 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/0.9346, allocations: 16 kB / 0.8659 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1877/1.122, allocations: 7.195 MB / 0.8729 GB, free: 197 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.125, allocations: 0.5581 MB / 0.8735 GB, free: 197 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05388/1.179, allocations: 22.28 MB / 0.8952 GB, free: 195.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/1.185, allocations: 0.6761 MB / 0.8959 GB, free: 195.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/1.185, allocations: 134.2 kB / 0.896 GB, free: 195.5 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007501/1.186, allocations: 202.1 kB / 0.8962 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/1.187, allocations: 458.9 kB / 0.8967 GB, free: 195.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05192/1.238, allocations: 18.79 MB / 0.915 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/1.239, allocations: 40.52 kB / 0.915 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/1.239, allocations: 26.5 kB / 0.9151 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-05/1.239, allocations: 18.75 kB / 0.9151 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05844/1.297, allocations: 23.37 MB / 0.9379 GB, free: 193.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/1.297, allocations: 0 / 0.9379 GB, free: 193.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.3, allocations: 386.8 kB / 0.9383 GB, free: 193.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02397/1.324, allocations: 7.255 MB / 0.9454 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008519/1.325, allocations: 23.36 kB / 0.9454 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05057/1.375, allocations: 22 MB / 0.9669 GB, free: 171.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.375, allocations: 4 kB / 0.9669 GB, free: 171.3 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05823/1.433, allocations: 21.72 MB / 0.9881 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.435, allocations: 0.5511 MB / 0.9886 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008649/1.436, allocations: 4 kB / 0.9886 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/1.44, allocations: 484.5 kB / 0.9891 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/1.441, allocations: 467.1 kB / 0.9895 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003465/1.442, allocations: 91.75 kB / 0.9896 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.00244/1.444, allocations: 1.806 MB / 0.9914 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004399/1.448, allocations: 1.562 MB / 0.9929 GB, free: 149 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000509/1.449, allocations: 157.8 kB / 0.9931 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02093/1.47, allocations: 7.896 MB / 1.001 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.47, allocations: 0 / 1.001 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01775/1.488, allocations: 5.921 MB / 1.007 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.49, allocations: 246.1 kB / 1.007 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.507, allocations: 5.886 MB / 1.013 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/1.509, allocations: 2.646 MB / 1.015 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.164e-06/1.509, allocations: 0 / 1.015 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.1067/1.616, allocations: 73.18 MB / 1.087 GB, free: 65.72 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)