Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_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 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 175.3 kB / 7.452 MB, free: 2.32 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.064/1.064, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008036/0.0008035, allocations: 103.7 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3597/0.3597, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1153/0.475, allocations: 75.49 MB / 484.5 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.7049, allocations: 69.33 MB / 0.5408 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09975/0.8047, allocations: 99.91 MB / 0.6384 GB, free: 4.992 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.805, allocations: 71.97 kB / 0.6385 GB, free: 4.922 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.332/1.137, allocations: 73.21 MB / 0.71 GB, free: 94.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/1.137, allocations: 13.56 kB / 0.71 GB, free: 94.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009447/1.147, allocations: 1.667 MB / 0.7116 GB, free: 93.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/1.149, allocations: 1.673 MB / 0.7132 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004896/1.15, allocations: 0.6813 MB / 0.7139 GB, free: 91.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/1.15, allocations: 127.5 kB / 0.714 GB, free: 91.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003775/1.154, allocations: 2.23 MB / 0.7162 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/1.158, allocations: 2.293 MB / 0.7185 GB, free: 89.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/1.158, allocations: 0 / 0.7185 GB, free: 89.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/1.158, allocations: 0 / 0.7185 GB, free: 89.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/1.158, allocations: 48 kB / 0.7185 GB, free: 89.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/1.172, allocations: 9.838 MB / 0.7281 GB, free: 79.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/1.175, allocations: 2.053 MB / 0.7301 GB, free: 77.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/1.177, allocations: 1.461 MB / 0.7315 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/1.177, allocations: 45.64 kB / 0.7316 GB, free: 75.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/1.179, allocations: 1.698 MB / 0.7332 GB, free: 74.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.048e-06/1.179, allocations: 0 / 0.7332 GB, free: 74.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03503/1.214, allocations: 13.16 MB / 0.7461 GB, free: 60.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/1.214, allocations: 192.2 kB / 0.7463 GB, free: 60.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/1.217, allocations: 1.725 MB / 0.748 GB, free: 59.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004603/1.217, allocations: 29.7 kB / 0.748 GB, free: 59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/1.217, allocations: 0.7076 MB / 0.7487 GB, free: 58.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000985/1.218, allocations: 0.8273 MB / 0.7495 GB, free: 57.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/1.219, allocations: 0 / 0.7495 GB, free: 57.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/1.219, allocations: 403 kB / 0.7499 GB, free: 57.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.221, allocations: 1.223 MB / 0.7511 GB, free: 55.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/1.222, allocations: 1.519 MB / 0.7525 GB, free: 54.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/1.224, allocations: 1.348 MB / 0.7539 GB, free: 52.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.224, allocations: 0 / 0.7539 GB, free: 52.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03485/1.259, allocations: 13.11 MB / 0.7667 GB, free: 39.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.259, allocations: 8 kB / 0.7667 GB, free: 39.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.259, allocations: 11.89 kB / 0.7667 GB, free: 39.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0151/1.274, allocations: 5.212 MB / 0.7718 GB, free: 34.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/1.277, allocations: 435.4 kB / 0.7722 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/1.31, allocations: 15.47 MB / 0.7873 GB, free: 18.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/1.314, allocations: 0.5251 MB / 0.7878 GB, free: 17.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/1.314, allocations: 83.98 kB / 0.7879 GB, free: 17.82 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real 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.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005221/1.315, allocations: 220.6 kB / 0.7881 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/1.315, allocations: 300.3 kB / 0.7884 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03525/1.35, allocations: 13.43 MB / 0.8015 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/1.35, allocations: 24 kB / 0.8015 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.35, allocations: 20 kB / 0.8015 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.35, allocations: 11.95 kB / 0.8016 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04227/1.393, allocations: 16.74 MB / 0.8179 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/1.393, allocations: 4 kB / 0.8179 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.394, allocations: 251.7 kB / 0.8182 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01535/1.409, allocations: 5.192 MB / 0.8232 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/1.41, allocations: 19.98 kB / 0.8232 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03704/1.447, allocations: 17.47 MB / 0.8403 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.447, allocations: 0 / 0.8403 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04174/1.488, allocations: 15.47 MB / 0.8554 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04529/1.534, allocations: 17.94 MB / 0.8729 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009281/1.535, allocations: 408.8 kB / 0.8733 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/1.535, allocations: 8 kB / 0.8733 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/1.538, allocations: 407.6 kB / 0.8737 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000941/1.539, allocations: 337.3 kB / 0.874 GB, free: 8.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.54, allocations: 63.98 kB / 0.8741 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001779/1.541, allocations: 1.296 MB / 0.8754 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003157/1.545, allocations: 1.006 MB / 0.8763 GB, free: 6.539 MB / 0.5573 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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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: 3 * 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: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/1.545, allocations: 152.3 kB / 0.8765 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.559, allocations: 5.529 MB / 0.8819 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.559, allocations: 0 / 0.8819 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.146/1.705, allocations: 4.223 MB / 0.886 GB, free: 200.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.706, allocations: 187 kB / 0.8862 GB, free: 200.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00876/1.715, allocations: 4.191 MB / 0.8903 GB, free: 199.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/1.716, allocations: 2.009 MB / 0.8922 GB, free: 198.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/1.716, allocations: 0 / 0.8922 GB, free: 198.5 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)