Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.002466/0.002466, allocations: 179 kB / 7.457 MB, free: 2.223 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.108/1.108, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008724/0.0008724, allocations: 91.88 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.07261/0.07261, allocations: 12.19 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.271/0.271, allocations: 78.04 MB / 449.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2541/0.5251, allocations: 76.1 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.6608, allocations: 69.23 MB / 0.5813 GB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/1.089, allocations: 98.92 MB / 0.6779 GB, free: 9.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.089, allocations: 75.17 kB / 0.6779 GB, free: 9.246 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0879/1.177, allocations: 30.26 MB / 0.7075 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.177, allocations: 15.94 kB / 0.7075 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/1.182, allocations: 0.5789 MB / 0.7081 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/1.184, allocations: 0.7793 MB / 0.7088 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/1.185, allocations: 206.5 kB / 0.709 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004205/1.185, allocations: 47.19 kB / 0.7091 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002338/1.187, allocations: 0.8002 MB / 0.7099 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.19, allocations: 0.8341 MB / 0.7107 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/1.19, allocations: 3.984 kB / 0.7107 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.19, allocations: 7.938 kB / 0.7107 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/1.19, allocations: 16 kB / 0.7107 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/1.199, allocations: 3.79 MB / 0.7144 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.2, allocations: 0.5903 MB / 0.715 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/1.201, allocations: 0.5121 MB / 0.7155 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/1.201, allocations: 12.77 kB / 0.7155 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.201, allocations: 50.64 kB / 0.7155 GB, free: 10.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 3.337e-06/1.201, allocations: 0 / 0.7155 GB, free: 10.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01356/1.215, allocations: 4.041 MB / 0.7195 GB, free: 7.031 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/1.215, allocations: 145.2 kB / 0.7196 GB, free: 6.859 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.217, allocations: 0.8147 MB / 0.7204 GB, free: 6.258 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/1.217, allocations: 25.7 kB / 0.7204 GB, free: 6.227 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/1.217, allocations: 320.2 kB / 0.7207 GB, free: 5.961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/1.218, allocations: 314.6 kB / 0.721 GB, free: 5.684 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.218, allocations: 0 / 0.721 GB, free: 5.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/1.219, allocations: 347.6 kB / 0.7214 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/1.22, allocations: 427.8 kB / 0.7218 GB, free: 5.129 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.221, allocations: 0.5461 MB / 0.7223 GB, free: 4.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/1.222, allocations: 481.6 kB / 0.7228 GB, free: 4.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/1.222, allocations: 0 / 0.7228 GB, free: 4.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01431/1.236, allocations: 4.172 MB / 0.7269 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005612/1.237, allocations: 1.152 MB / 0.728 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/1.237, allocations: 4 kB / 0.728 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005909/1.243, allocations: 1.524 MB / 0.7295 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.244, allocations: 159.6 kB / 0.7296 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/1.26, allocations: 5.806 MB / 0.7353 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.262, allocations: 183.1 kB / 0.7355 GB, free: 9.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.262, allocations: 39.23 kB / 0.7355 GB, free: 9.523 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.262, allocations: 4 kB / 0.7355 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01339/1.276, allocations: 4.016 MB / 0.7394 GB, free: 5.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/1.276, allocations: 4 kB / 0.7394 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005951/1.282, allocations: 1.528 MB / 0.7409 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.283, allocations: 155.7 kB / 0.7411 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.297, allocations: 5.806 MB / 0.7467 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.299, allocations: 163.3 kB / 0.7469 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/1.299, allocations: 31.98 kB / 0.7469 GB, free: 13.81 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (86): * Single equations (assignments): 83 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004885/1.3, allocations: 163.5 kB / 0.7471 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.3, allocations: 122.5 kB / 0.7472 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.314, allocations: 4.134 MB / 0.7512 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/1.314, allocations: 8 kB / 0.7512 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.314, allocations: 8 kB / 0.7513 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/1.314, allocations: 7.984 kB / 0.7513 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.33, allocations: 5.602 MB / 0.7567 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/1.33, allocations: 0 / 0.7567 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.331, allocations: 115.8 kB / 0.7568 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005246/1.337, allocations: 1.465 MB / 0.7583 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/1.337, allocations: 11.98 kB / 0.7583 GB, free: 2.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.35, allocations: 5.207 MB / 0.7634 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.35, allocations: 3.828 kB / 0.7634 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01495/1.365, allocations: 4.868 MB / 0.7681 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01691/1.382, allocations: 5.951 MB / 0.7739 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/1.383, allocations: 223.3 kB / 0.7742 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.383, allocations: 0 / 0.7742 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.385, allocations: 135.9 kB / 0.7743 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/1.385, allocations: 108.5 kB / 0.7744 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/1.385, allocations: 23.98 kB / 0.7744 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001157/1.386, allocations: 0.6255 MB / 0.775 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003873/1.39, allocations: 0.6044 MB / 0.7756 GB, free: 104 kB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004205/1.391, allocations: 143 kB / 0.7757 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.401, allocations: 3.394 MB / 0.7791 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.401, allocations: 0 / 0.7791 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004296/1.406, allocations: 1.38 MB / 0.7804 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.407, allocations: 92.33 kB / 0.7805 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/1.412, allocations: 1.735 MB / 0.7822 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.414, allocations: 1.209 MB / 0.7834 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/1.414, allocations: 0 / 0.7834 GB, free: 8.004 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)