Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 182 kB / 7.463 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 221.4 MB / 229.3 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009343, allocations: 97.34 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4308/0.4308, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1366/0.5674, allocations: 75.65 MB / 485.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.8894, allocations: 69.5 MB / 0.542 GB, free: 20.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/1.011, allocations: 100.1 MB / 0.6397 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.011, allocations: 75.95 kB / 0.6398 GB, free: 3.758 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.3966/1.407, allocations: 71.4 MB / 0.7095 GB, free: 94.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.408, allocations: 9.344 kB / 0.7095 GB, free: 94.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/1.418, allocations: 1.672 MB / 0.7111 GB, free: 93.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/1.423, allocations: 1.666 MB / 0.7128 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006362/1.424, allocations: 0.6239 MB / 0.7134 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/1.424, allocations: 123.8 kB / 0.7135 GB, free: 92.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004745/1.429, allocations: 2.23 MB / 0.7157 GB, free: 91.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003916/1.433, allocations: 2.292 MB / 0.7179 GB, free: 89.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/1.433, allocations: 3.906 kB / 0.7179 GB, free: 89.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/1.433, allocations: 0 / 0.7179 GB, free: 89.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/1.433, allocations: 48 kB / 0.718 GB, free: 89.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/1.451, allocations: 9.972 MB / 0.7277 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/1.453, allocations: 1.579 MB / 0.7292 GB, free: 77.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/1.455, allocations: 1.462 MB / 0.7307 GB, free: 76.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/1.455, allocations: 45.64 kB / 0.7307 GB, free: 76.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/1.455, allocations: 72.48 kB / 0.7308 GB, free: 76.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.389e-06/1.455, allocations: 0 / 0.7308 GB, free: 76.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03667/1.492, allocations: 12.88 MB / 0.7434 GB, free: 63.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.492, allocations: 235.6 kB / 0.7436 GB, free: 62.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/1.495, allocations: 1.728 MB / 0.7453 GB, free: 61.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006832/1.495, allocations: 29.7 kB / 0.7453 GB, free: 61.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/1.496, allocations: 0.6998 MB / 0.746 GB, free: 60.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.497, allocations: 0.8158 MB / 0.7468 GB, free: 59.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.497, allocations: 3.938 kB / 0.7468 GB, free: 59.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/1.497, allocations: 390.7 kB / 0.7472 GB, free: 59.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/1.499, allocations: 1.196 MB / 0.7483 GB, free: 58.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.501, allocations: 1.5 MB / 0.7498 GB, free: 56.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/1.503, allocations: 1.326 MB / 0.7511 GB, free: 55.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.503, allocations: 4 kB / 0.7511 GB, free: 55.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03367/1.537, allocations: 12.08 MB / 0.7629 GB, free: 43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005032/1.538, allocations: 2.761 MB / 0.7656 GB, free: 40.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.538, allocations: 4 kB / 0.7656 GB, free: 40.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01465/1.552, allocations: 4.83 MB / 0.7703 GB, free: 35.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.556, allocations: 0.718 MB / 0.771 GB, free: 34.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03352/1.59, allocations: 14.3 MB / 0.785 GB, free: 20.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/1.594, allocations: 0.5056 MB / 0.7855 GB, free: 19.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/1.595, allocations: 83.97 kB / 0.7856 GB, free: 19.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/1.595, allocations: 7.938 kB / 0.7856 GB, free: 19.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.033/1.628, allocations: 11.76 MB / 0.797 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.628, allocations: 8 kB / 0.7971 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/1.642, allocations: 4.823 MB / 0.8018 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/1.646, allocations: 0.7023 MB / 0.8024 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03661/1.683, allocations: 14.3 MB / 0.8164 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.687, allocations: 494 kB / 0.8169 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006648/1.688, allocations: 87.97 kB / 0.817 GB, free: 3.137 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" 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 (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.689, allocations: 214.9 kB / 0.8172 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.69, allocations: 292.3 kB / 0.8175 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03911/1.729, allocations: 13.15 MB / 0.8303 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/1.729, allocations: 27.98 kB / 0.8303 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/1.729, allocations: 16 kB / 0.8303 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.073e-05/1.729, allocations: 15.95 kB / 0.8304 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04584/1.775, allocations: 16.68 MB / 0.8466 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.775, allocations: 0 / 0.8466 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.777, allocations: 275.6 kB / 0.8469 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01576/1.793, allocations: 5.011 MB / 0.8518 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006075/1.794, allocations: 15.98 kB / 0.8518 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03454/1.828, allocations: 13.68 MB / 0.8652 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.828, allocations: 4 kB / 0.8652 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04421/1.873, allocations: 15.16 MB / 0.88 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04719/1.92, allocations: 17.62 MB / 0.8972 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.921, allocations: 412.8 kB / 0.8976 GB, free: 348 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007769/1.922, allocations: 4 kB / 0.8976 GB, free: 344 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2037/2.126, allocations: 385.3 kB / 0.898 GB, free: 209.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/2.127, allocations: 325.9 kB / 0.8983 GB, free: 209.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/2.127, allocations: 65.94 kB / 0.8983 GB, free: 209.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001799/2.129, allocations: 1.289 MB / 0.8996 GB, free: 208.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006053/2.135, allocations: 1.587 MB / 0.9011 GB, free: 208.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004528/2.136, allocations: 146.9 kB / 0.9013 GB, free: 208.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02542/2.161, allocations: 9.585 MB / 0.9106 GB, free: 208 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.161, allocations: 5.375 kB / 0.9107 GB, free: 208 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01143/2.173, allocations: 3.969 MB / 0.9145 GB, free: 207.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/2.175, allocations: 188 kB / 0.9147 GB, free: 207.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/2.189, allocations: 4.369 MB / 0.919 GB, free: 206.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/2.191, allocations: 2.004 MB / 0.9209 GB, free: 205.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.342e-06/2.192, allocations: 0 / 0.9209 GB, free: 205.9 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)