Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.003803/0.003803, allocations: 181.1 kB / 7.459 MB, free: 2.5 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.282/1.282, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0009565/0.0009566, allocations: 96.91 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07442/0.07442, allocations: 12.19 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3035/0.3035, allocations: 78.05 MB / 449.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2803/0.5838, allocations: 76.08 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.7037, allocations: 69.22 MB / 0.5813 GB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3814/1.085, allocations: 101.8 MB / 0.6807 GB, free: 7.445 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.085, allocations: 78.73 kB / 0.6808 GB, free: 7.406 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.2721/1.358, allocations: 100.1 MB / 0.7785 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.358, allocations: 11.94 kB / 0.7786 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/1.377, allocations: 2.924 MB / 0.7814 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/1.384, allocations: 2.267 MB / 0.7836 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/1.385, allocations: 0.8501 MB / 0.7845 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/1.386, allocations: 196 kB / 0.7846 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008782/1.395, allocations: 3.439 MB / 0.788 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008364/1.404, allocations: 3.583 MB / 0.7915 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.328e-05/1.404, allocations: 11.91 kB / 0.7915 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/1.404, allocations: 0 / 0.7915 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/1.404, allocations: 84 kB / 0.7916 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0414/1.446, allocations: 18.58 MB / 0.8097 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/1.451, allocations: 2.243 MB / 0.8119 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/1.454, allocations: 2.108 MB / 0.814 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/1.455, allocations: 70.89 kB / 0.8141 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/1.455, allocations: 77.52 kB / 0.8141 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=379): time 5.501e-06/1.455, allocations: 0 / 0.8141 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=379): time 0.05785/1.513, allocations: 18.24 MB / 0.8319 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.513, allocations: 167.5 kB / 0.8321 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/1.517, allocations: 2.444 MB / 0.8345 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008918/1.518, allocations: 25.7 kB / 0.8345 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/1.519, allocations: 1.17 MB / 0.8357 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002643/1.522, allocations: 1.243 MB / 0.8369 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/1.522, allocations: 4 kB / 0.8369 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000258/1.522, allocations: 441.6 kB / 0.8373 GB, free: 56 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003189/1.525, allocations: 1.749 MB / 0.839 GB, free: 14.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/1.529, allocations: 2.318 MB / 0.8413 GB, free: 11.79 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/1.533, allocations: 1.952 MB / 0.8432 GB, free: 9.82 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.533, allocations: 4 kB / 0.8432 GB, free: 9.816 MB / 0.573 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.2352/1.768, allocations: 18.32 MB / 0.8611 GB, free: 184.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.769, allocations: 6.61 MB / 0.8675 GB, free: 177.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/1.769, allocations: 15.84 kB / 0.8675 GB, free: 177.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02385/1.793, allocations: 7.127 MB / 0.8745 GB, free: 177.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/1.796, allocations: 0.5398 MB / 0.875 GB, free: 177.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05496/1.851, allocations: 22.1 MB / 0.8966 GB, free: 176.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005968/1.857, allocations: 0.6677 MB / 0.8973 GB, free: 176 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005216/1.858, allocations: 135 kB / 0.8974 GB, free: 176 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/1.858, allocations: 2.719 kB / 0.8974 GB, free: 176 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05103/1.909, allocations: 17.84 MB / 0.9148 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.914e-05/1.909, allocations: 14.28 kB / 0.9148 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02439/1.933, allocations: 7.138 MB / 0.9218 GB, free: 174.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/1.936, allocations: 0.5323 MB / 0.9223 GB, free: 174.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05554/1.992, allocations: 22.09 MB / 0.9439 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006127/1.998, allocations: 0.6254 MB / 0.9445 GB, free: 161.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.999, allocations: 131.3 kB / 0.9446 GB, free: 161.1 MB / 0.573 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 318 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001091/2, allocations: 192.1 kB / 0.9448 GB, free: 160.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/2.002, allocations: 458 kB / 0.9452 GB, free: 160.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05301/2.055, allocations: 18.66 MB / 0.9635 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/2.055, allocations: 36 kB / 0.9635 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-05/2.055, allocations: 28 kB / 0.9635 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.186e-05/2.055, allocations: 21.72 kB / 0.9636 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06128/2.117, allocations: 23.55 MB / 0.9866 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/2.117, allocations: 0 / 0.9866 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002637/2.119, allocations: 403.4 kB / 0.9869 GB, free: 127.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02275/2.142, allocations: 7.175 MB / 0.9939 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009756/2.143, allocations: 19.89 kB / 0.994 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04915/2.192, allocations: 20.15 MB / 1.014 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.192, allocations: 4 kB / 1.014 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05833/2.251, allocations: 21.57 MB / 1.035 GB, free: 85.1 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06126/2.312, allocations: 25.07 MB / 1.059 GB, free: 60.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/2.314, allocations: 0.5472 MB / 1.06 GB, free: 59.51 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/2.315, allocations: 8 kB / 1.06 GB, free: 59.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005086/2.32, allocations: 479.6 kB / 1.06 GB, free: 59.03 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/2.322, allocations: 450.1 kB / 1.061 GB, free: 58.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/2.322, allocations: 95.98 kB / 1.061 GB, free: 58.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002599/2.325, allocations: 1.805 MB / 1.062 GB, free: 56.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01047/2.335, allocations: 2.583 MB / 1.065 GB, free: 54.23 MB / 0.573 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,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 (249): * Single equations (assignments): 247 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/2.336, allocations: 154.6 kB / 1.065 GB, free: 54.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03875/2.375, allocations: 13.85 MB / 1.079 GB, free: 40.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/2.375, allocations: 0 / 1.079 GB, free: 40.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01711/2.392, allocations: 5.777 MB / 1.084 GB, free: 34.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/2.396, allocations: 246 kB / 1.085 GB, free: 34.32 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/2.414, allocations: 6.18 MB / 1.091 GB, free: 28.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002344/2.416, allocations: 2.675 MB / 1.093 GB, free: 25.4 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/2.417, allocations: 0 / 1.093 GB, free: 25.4 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)