Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.0009439/0.0009439, allocations: 178.8 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.032/1.032, allocations: 221.4 MB / 229.3 MB, free: 8.414 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 109.1 kB / 280.1 MB, free: 7.82 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3531/0.3531, allocations: 78.1 MB / 409 MB, free: 5.531 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1156/0.4687, allocations: 75.49 MB / 484.5 MB, free: 10.37 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.6718, allocations: 69.34 MB / 0.5408 GB, free: 15.75 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.7737, allocations: 99.5 MB / 0.638 GB, free: 12.15 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.774, allocations: 79.95 kB / 0.6381 GB, free: 12.07 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.3233/1.097, allocations: 72.36 MB / 0.7087 GB, free: 83.91 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/1.097, allocations: 8 kB / 0.7087 GB, free: 83.9 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009067/1.106, allocations: 1.674 MB / 0.7104 GB, free: 82.22 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/1.109, allocations: 1.662 MB / 0.712 GB, free: 80.54 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/1.109, allocations: 0.6745 MB / 0.7127 GB, free: 79.75 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/1.11, allocations: 123.9 kB / 0.7128 GB, free: 79.63 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003423/1.113, allocations: 2.222 MB / 0.715 GB, free: 77.4 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.116, allocations: 2.278 MB / 0.7172 GB, free: 75.05 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/1.116, allocations: 0 / 0.7172 GB, free: 75.05 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/1.117, allocations: 4 kB / 0.7172 GB, free: 75.05 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/1.117, allocations: 48 kB / 0.7172 GB, free: 75 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/1.131, allocations: 9.804 MB / 0.7268 GB, free: 64.95 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/1.134, allocations: 2.026 MB / 0.7288 GB, free: 62.89 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/1.135, allocations: 1.45 MB / 0.7302 GB, free: 61.44 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/1.136, allocations: 42.11 kB / 0.7302 GB, free: 61.41 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/1.138, allocations: 1.698 MB / 0.7319 GB, free: 59.69 MB / 482.8 MB Notification: Performance of pre-optimization done (n=248): time 3.206e-06/1.138, allocations: 0 / 0.7319 GB, free: 59.69 MB / 482.8 MB Notification: Performance of matching and sorting (n=248): time 0.03559/1.173, allocations: 13.13 MB / 0.7447 GB, free: 46.56 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.173, allocations: 188.2 kB / 0.7449 GB, free: 46.34 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.175, allocations: 1.693 MB / 0.7466 GB, free: 44.64 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/1.176, allocations: 29.77 kB / 0.7466 GB, free: 44.6 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/1.176, allocations: 0.6996 MB / 0.7473 GB, free: 43.89 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00092/1.177, allocations: 0.8245 MB / 0.7481 GB, free: 43.05 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/1.177, allocations: 0 / 0.7481 GB, free: 43.05 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/1.177, allocations: 402.9 kB / 0.7485 GB, free: 42.66 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/1.179, allocations: 1.223 MB / 0.7496 GB, free: 41.43 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/1.181, allocations: 1.507 MB / 0.7511 GB, free: 39.83 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/1.183, allocations: 1.344 MB / 0.7524 GB, free: 38.45 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.183, allocations: 0 / 0.7524 GB, free: 38.45 MB / 482.8 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03463/1.218, allocations: 13.09 MB / 0.7652 GB, free: 25.34 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.218, allocations: 4 kB / 0.7652 GB, free: 25.34 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.218, allocations: 8 kB / 0.7652 GB, free: 25.33 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/1.233, allocations: 5.189 MB / 0.7703 GB, free: 20.14 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/1.235, allocations: 419.4 kB / 0.7707 GB, free: 19.73 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03363/1.268, allocations: 15.49 MB / 0.7858 GB, free: 4.102 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/1.272, allocations: 0.5212 MB / 0.7863 GB, free: 3.578 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.272, allocations: 87.98 kB / 0.7864 GB, free: 3.492 MB / 482.8 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005325/1.273, allocations: 209.4 kB / 0.7866 GB, free: 3.27 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/1.273, allocations: 296.3 kB / 0.7869 GB, free: 2.977 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03755/1.311, allocations: 13.41 MB / 0.8 GB, free: 5.531 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/1.311, allocations: 28 kB / 0.8 GB, free: 5.504 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.311, allocations: 16 kB / 0.8 GB, free: 5.488 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/1.311, allocations: 15.95 kB / 0.8001 GB, free: 5.473 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04194/1.353, allocations: 16.66 MB / 0.8163 GB, free: 4.695 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.353, allocations: 7.938 kB / 0.8163 GB, free: 4.688 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/1.354, allocations: 243.7 kB / 0.8166 GB, free: 4.449 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01517/1.37, allocations: 5.193 MB / 0.8216 GB, free: 15.24 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/1.37, allocations: 23.92 kB / 0.8217 GB, free: 15.22 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03646/1.406, allocations: 17.44 MB / 0.8387 GB, free: 13.39 MB / 0.5339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.406, allocations: 0 / 0.8387 GB, free: 13.39 MB / 0.5339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04113/1.447, allocations: 15.43 MB / 0.8538 GB, free: 13.87 MB / 0.5496 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04428/1.492, allocations: 17.88 MB / 0.8712 GB, free: 11.87 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/1.492, allocations: 416.7 kB / 0.8716 GB, free: 11.44 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/1.493, allocations: 4 kB / 0.8716 GB, free: 11.44 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.496, allocations: 407.6 kB / 0.872 GB, free: 11.04 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009042/1.497, allocations: 337.4 kB / 0.8723 GB, free: 10.71 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/1.497, allocations: 71.92 kB / 0.8724 GB, free: 10.64 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.001654/1.499, allocations: 1.26 MB / 0.8736 GB, free: 9.375 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.00348/1.502, allocations: 0.9985 MB / 0.8746 GB, free: 8.375 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003749/1.503, allocations: 154.8 kB / 0.8748 GB, free: 8.211 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.516, allocations: 5.483 MB / 0.8801 GB, free: 2.676 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.516, allocations: 0.6875 kB / 0.8801 GB, free: 2.676 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.1436/1.66, allocations: 4.232 MB / 0.8842 GB, free: 205.8 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.661, allocations: 178.4 kB / 0.8844 GB, free: 205.8 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/1.669, allocations: 4.09 MB / 0.8884 GB, free: 204.7 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.671, allocations: 1.982 MB / 0.8903 GB, free: 204 MB / 0.5652 GB Notification: Performance of SimCode: time 8.41e-07/1.671, allocations: 0 / 0.8903 GB, free: 204 MB / 0.5652 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)