Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",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.002869/0.002869, allocations: 183 kB / 7.459 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.156/1.156, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0008827/0.0008827, allocations: 89.23 kB / 261.1 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0663/0.0663, allocations: 12.19 MB / 321.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2891/0.2891, allocations: 78.05 MB / 449.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2932/0.5823, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.7379, allocations: 69.23 MB / 0.5813 GB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/1.224, allocations: 99.81 MB / 0.6787 GB, free: 9.234 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.225, allocations: 79.53 kB / 0.6788 GB, free: 9.219 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.09546/1.32, allocations: 31.61 MB / 0.7097 GB, free: 15.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.32, allocations: 15.92 kB / 0.7097 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/1.325, allocations: 0.5816 MB / 0.7103 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/1.327, allocations: 0.8152 MB / 0.7111 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/1.328, allocations: 210.5 kB / 0.7113 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/1.328, allocations: 51.22 kB / 0.7113 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002136/1.33, allocations: 0.8187 MB / 0.7121 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.332, allocations: 0.8576 MB / 0.713 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.332, allocations: 0 / 0.713 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/1.332, allocations: 0 / 0.713 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/1.332, allocations: 20 kB / 0.713 GB, free: 12.44 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00928/1.341, allocations: 3.9 MB / 0.7168 GB, free: 9.309 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.343, allocations: 0.6168 MB / 0.7174 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/1.344, allocations: 0.5262 MB / 0.7179 GB, free: 8.645 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/1.344, allocations: 20.7 kB / 0.7179 GB, free: 8.625 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.344, allocations: 50.89 kB / 0.718 GB, free: 8.574 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 2.855e-06/1.344, allocations: 0 / 0.718 GB, free: 8.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01367/1.358, allocations: 4.084 MB / 0.722 GB, free: 5.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/1.358, allocations: 141.3 kB / 0.7221 GB, free: 4.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/1.36, allocations: 0.8566 MB / 0.7229 GB, free: 4.219 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/1.36, allocations: 25.7 kB / 0.723 GB, free: 4.188 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/1.361, allocations: 318.2 kB / 0.7233 GB, free: 3.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007047/1.361, allocations: 336.3 kB / 0.7236 GB, free: 3.629 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.362, allocations: 0 / 0.7236 GB, free: 3.629 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/1.362, allocations: 345.3 kB / 0.7239 GB, free: 3.301 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/1.363, allocations: 455 kB / 0.7243 GB, free: 3.059 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.364, allocations: 0.5593 MB / 0.7249 GB, free: 2.676 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/1.365, allocations: 0.4945 MB / 0.7254 GB, free: 2.395 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.365, allocations: 4 kB / 0.7254 GB, free: 2.391 MB / 458.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01429/1.379, allocations: 4.282 MB / 0.7296 GB, free: 14.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005669/1.38, allocations: 1.14 MB / 0.7307 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.38, allocations: 4 kB / 0.7307 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/1.386, allocations: 1.599 MB / 0.7322 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.388, allocations: 162.8 kB / 0.7324 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/1.405, allocations: 7.159 MB / 0.7394 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.407, allocations: 183.1 kB / 0.7396 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/1.407, allocations: 31.98 kB / 0.7396 GB, free: 5.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.407, allocations: 4 kB / 0.7396 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01464/1.422, allocations: 4.121 MB / 0.7436 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/1.422, allocations: 4 kB / 0.7436 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/1.428, allocations: 1.598 MB / 0.7452 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.43, allocations: 159.8 kB / 0.7453 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.447, allocations: 7.16 MB / 0.7523 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.449, allocations: 171.1 kB / 0.7525 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/1.45, allocations: 35.98 kB / 0.7525 GB, free: 7.977 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {19 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007146/1.45, allocations: 152.2 kB / 0.7527 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/1.451, allocations: 126.4 kB / 0.7528 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.465, allocations: 4.174 MB / 0.7569 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.465, allocations: 12 kB / 0.7569 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/1.465, allocations: 7.984 kB / 0.7569 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-05/1.465, allocations: 11.89 kB / 0.7569 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.482, allocations: 5.706 MB / 0.7625 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.483, allocations: 4 kB / 0.7625 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.484, allocations: 123.9 kB / 0.7626 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005393/1.489, allocations: 1.461 MB / 0.764 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003963/1.49, allocations: 8 kB / 0.764 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.503, allocations: 5.212 MB / 0.7691 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.503, allocations: 0 / 0.7691 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01562/1.518, allocations: 4.94 MB / 0.7739 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01823/1.537, allocations: 6.061 MB / 0.7799 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/1.538, allocations: 227.3 kB / 0.7801 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007703/1.538, allocations: 8 kB / 0.7801 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.541, allocations: 127.9 kB / 0.7802 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005997/1.541, allocations: 104.8 kB / 0.7803 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.541, allocations: 31.98 kB / 0.7803 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001707/1.543, allocations: 0.6536 MB / 0.781 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005167/1.548, allocations: 0.6395 MB / 0.7816 GB, free: 9.883 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,21.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/1.549, allocations: 139 kB / 0.7817 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.561, allocations: 3.695 MB / 0.7853 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-05/1.561, allocations: 0 / 0.7853 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/1.566, allocations: 1.41 MB / 0.7867 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.567, allocations: 104.3 kB / 0.7868 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/1.576, allocations: 2.018 MB / 0.7888 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/1.578, allocations: 1.241 MB / 0.79 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/1.578, allocations: 0 / 0.79 GB, free: 1.113 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)