Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [: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.003226/0.003226, allocations: 179.8 kB / 7.455 MB, free: 2.512 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.354/1.354, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009769/0.0009771, allocations: 101.1 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/package.mo): time 0.08742/0.08742, allocations: 12.19 MB / 321.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3214/0.3214, allocations: 78.05 MB / 449.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2684/0.5899, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.7243, allocations: 69.23 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/1.132, allocations: 100 MB / 0.6789 GB, free: 8.898 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.132, allocations: 78.36 kB / 0.679 GB, free: 8.887 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.09246/1.224, allocations: 32.45 MB / 0.7107 GB, free: 13.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.225, allocations: 15.94 kB / 0.7107 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004176/1.229, allocations: 0.5824 MB / 0.7113 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/1.231, allocations: 0.7879 MB / 0.712 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/1.232, allocations: 243.9 kB / 0.7123 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/1.232, allocations: 44 kB / 0.7123 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/1.234, allocations: 0.8095 MB / 0.7131 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/1.236, allocations: 0.8484 MB / 0.7139 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.236, allocations: 0 / 0.7139 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.236, allocations: 3.984 kB / 0.7139 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/1.236, allocations: 20 kB / 0.714 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008706/1.245, allocations: 3.796 MB / 0.7177 GB, free: 8.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.246, allocations: 0.6266 MB / 0.7183 GB, free: 7.938 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008206/1.247, allocations: 0.5176 MB / 0.7188 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/1.247, allocations: 16.45 kB / 0.7188 GB, free: 7.645 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/1.248, allocations: 0.646 MB / 0.7194 GB, free: 7.203 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 3.747e-06/1.248, allocations: 0 / 0.7194 GB, free: 7.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01389/1.262, allocations: 4.198 MB / 0.7235 GB, free: 3.527 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/1.262, allocations: 115.6 kB / 0.7236 GB, free: 3.391 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.264, allocations: 0.8398 MB / 0.7245 GB, free: 2.777 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/1.264, allocations: 25.7 kB / 0.7245 GB, free: 2.746 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.264, allocations: 327.4 kB / 0.7248 GB, free: 2.473 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/1.265, allocations: 337.8 kB / 0.7251 GB, free: 2.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/1.265, allocations: 0 / 0.7251 GB, free: 2.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/1.265, allocations: 351.9 kB / 0.7255 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/1.266, allocations: 456.3 kB / 0.7259 GB, free: 1.605 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009164/1.267, allocations: 0.5615 MB / 0.7264 GB, free: 1.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/1.268, allocations: 0.4972 MB / 0.7269 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.268, allocations: 0 / 0.7269 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01383/1.282, allocations: 4.223 MB / 0.7311 GB, free: 13.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.282, allocations: 8 kB / 0.7311 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.282, allocations: 7.906 kB / 0.7311 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00622/1.288, allocations: 1.57 MB / 0.7326 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.289, allocations: 207.3 kB / 0.7328 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.305, allocations: 5.97 MB / 0.7386 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.307, allocations: 191.1 kB / 0.7388 GB, free: 6.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.307, allocations: 35.98 kB / 0.7388 GB, free: 6.316 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003873/1.307, allocations: 159.4 kB / 0.739 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/1.308, allocations: 122.5 kB / 0.7391 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.321, allocations: 4.3 MB / 0.7433 GB, free: 1.707 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/1.321, allocations: 12 kB / 0.7433 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/1.321, allocations: 8 kB / 0.7433 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/1.321, allocations: 3.984 kB / 0.7433 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/1.338, allocations: 5.715 MB / 0.7489 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/1.338, allocations: 0 / 0.7489 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000967/1.339, allocations: 103.8 kB / 0.749 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005419/1.344, allocations: 1.532 MB / 0.7505 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/1.344, allocations: 11.94 kB / 0.7505 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/1.359, allocations: 7.149 MB / 0.7575 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.359, allocations: 0 / 0.7575 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0149/1.374, allocations: 5.066 MB / 0.7625 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01643/1.391, allocations: 6.186 MB / 0.7685 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/1.391, allocations: 227.3 kB / 0.7687 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.392, allocations: 4 kB / 0.7687 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.393, allocations: 143.9 kB / 0.7688 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/1.393, allocations: 108.8 kB / 0.769 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/1.394, allocations: 28 kB / 0.769 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001075/1.395, allocations: 0.6454 MB / 0.7696 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002075/1.397, allocations: 403.4 kB / 0.77 GB, free: 5.949 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003658/1.397, allocations: 139.1 kB / 0.7701 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005415/1.403, allocations: 1.979 MB / 0.7721 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.403, allocations: 0 / 0.7721 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/1.407, allocations: 1.502 MB / 0.7735 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.408, allocations: 99.12 kB / 0.7736 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/1.413, allocations: 1.827 MB / 0.7754 GB, free: 312 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.414, allocations: 1.237 MB / 0.7766 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/1.414, allocations: 4 kB / 0.7766 GB, free: 15.04 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)