Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") [: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.00209/0.00209, allocations: 178.1 kB / 7.454 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.273/1.273, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.000962/0.000962, allocations: 97.97 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.0647/0.0647, allocations: 12.59 MB / 321.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2878/0.2878, allocations: 78.06 MB / 450.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.512e-06, allocations: 0 / 0.5141 GB, free: 30.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 69.33 MB / 0.5818 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.4134, allocations: 98.7 MB / 0.6782 GB, free: 9.129 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4136, allocations: 81.5 kB / 0.6783 GB, free: 9.113 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.15/0.5636, allocations: 57.95 MB / 0.7349 GB, free: 10.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001821/0.5639, allocations: 55.94 kB / 0.7349 GB, free: 9.969 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01263/0.5765, allocations: 3.889 MB / 0.7387 GB, free: 6.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5765, allocations: 19.95 kB / 0.7388 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.5876, allocations: 1.642 MB / 0.7404 GB, free: 4.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.5915, allocations: 1.467 MB / 0.7418 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006996/0.5922, allocations: 0.6162 MB / 0.7424 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007426/0.593, allocations: 115.9 kB / 0.7425 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00482/0.5978, allocations: 2.081 MB / 0.7445 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.6027, allocations: 2.134 MB / 0.7466 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.6028, allocations: 3.984 kB / 0.7466 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.6031, allocations: 0 / 0.7466 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.6031, allocations: 48 kB / 0.7467 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.6229, allocations: 9.474 MB / 0.7559 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/0.627, allocations: 1.923 MB / 0.7578 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.6292, allocations: 1.366 MB / 0.7591 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.6295, allocations: 41.95 kB / 0.7592 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.6296, allocations: 52.56 kB / 0.7592 GB, free: 1.008 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 3.997e-06/0.6296, allocations: 4 kB / 0.7592 GB, free: 1.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.04005/0.6697, allocations: 12.71 MB / 0.7716 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.6698, allocations: 128.8 kB / 0.7718 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003682/0.6735, allocations: 1.491 MB / 0.7732 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008743/0.6744, allocations: 25.7 kB / 0.7732 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.6751, allocations: 0.6594 MB / 0.7739 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001952/0.6771, allocations: 0.7504 MB / 0.7746 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.6776, allocations: 4 kB / 0.7746 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000284/0.6779, allocations: 386.2 kB / 0.775 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.6804, allocations: 1.118 MB / 0.7761 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.6829, allocations: 1.4 MB / 0.7775 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.6854, allocations: 1.228 MB / 0.7787 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.6854, allocations: 4 kB / 0.7787 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.04223/0.7277, allocations: 12.82 MB / 0.7912 GB, free: 68 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.7287, allocations: 2.731 MB / 0.7938 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.7288, allocations: 12 kB / 0.7939 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01834/0.7471, allocations: 5.175 MB / 0.7989 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.749, allocations: 323.5 kB / 0.7992 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04454/0.7936, allocations: 15.54 MB / 0.8144 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/0.7976, allocations: 489.8 kB / 0.8149 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005726/0.7982, allocations: 75.98 kB / 0.8149 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7982, allocations: 4 kB / 0.8149 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04095/0.8391, allocations: 12.51 MB / 0.8272 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-05/0.8392, allocations: 8 kB / 0.8272 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01864/0.8579, allocations: 5.171 MB / 0.8322 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.8598, allocations: 307.6 kB / 0.8325 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04489/0.9047, allocations: 15.56 MB / 0.8477 GB, free: 5.633 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/0.9109, allocations: 454 kB / 0.8481 GB, free: 5.184 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/0.912, allocations: 79.98 kB / 0.8482 GB, free: 5.105 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * 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: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001654/0.9137, allocations: 149.8 kB / 0.8484 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/0.9152, allocations: 276.6 kB / 0.8486 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/1.144, allocations: 12.95 MB / 0.8613 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.144, allocations: 23.64 kB / 0.8613 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.144, allocations: 19.81 kB / 0.8613 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/1.144, allocations: 15.47 kB / 0.8613 GB, free: 143.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03985/1.184, allocations: 16.1 MB / 0.8771 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.184, allocations: 3.688 kB / 0.8771 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.186, allocations: 253.2 kB / 0.8773 GB, free: 142.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01451/1.201, allocations: 5.015 MB / 0.8822 GB, free: 142.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/1.201, allocations: 9.25 kB / 0.8822 GB, free: 142.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03096/1.232, allocations: 13.69 MB / 0.8956 GB, free: 140.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.232, allocations: 0 / 0.8956 GB, free: 140.5 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03853/1.271, allocations: 14.9 MB / 0.9101 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/1.271, allocations: 376 kB / 0.9105 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/1.272, allocations: 3.656 kB / 0.9105 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/1.274, allocations: 366.3 kB / 0.9108 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007881/1.275, allocations: 310.6 kB / 0.9111 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.276, allocations: 56.08 kB / 0.9112 GB, free: 138.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001296/1.277, allocations: 1.123 MB / 0.9123 GB, free: 138.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003301/1.28, allocations: 1.521 MB / 0.9138 GB, free: 138.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/1.281, allocations: 149.3 kB / 0.9139 GB, free: 138.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02519/1.306, allocations: 9.084 MB / 0.9228 GB, free: 137.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.306, allocations: 5.375 kB / 0.9228 GB, free: 137.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01174/1.318, allocations: 3.82 MB / 0.9265 GB, free: 136.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.319, allocations: 153.5 kB / 0.9267 GB, free: 136 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.33, allocations: 4.008 MB / 0.9306 GB, free: 134.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.331, allocations: 1.825 MB / 0.9324 GB, free: 133.5 MB / 0.573 GB Notification: Performance of SimCode: time 9.41e-07/1.331, allocations: 0 / 0.9324 GB, free: 133.5 MB / 0.573 GB Notification: Performance of Templates: time 0.09294/1.424, allocations: 73.39 MB / 1.004 GB, free: 75.2 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)