Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.001036/0.001036, allocations: 177.7 kB / 7.457 MB, free: 1.539 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.046/1.046, allocations: 221.4 MB / 229.3 MB, free: 8.438 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.0008644/0.0008644, allocations: 102 kB / 280.1 MB, free: 7.832 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3582/0.3582, allocations: 78.1 MB / 409 MB, free: 5.504 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1261/0.4844, allocations: 75.48 MB / 484.5 MB, free: 10.34 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.7218, allocations: 69.35 MB / 0.5408 GB, free: 15.68 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09912/0.8209, allocations: 97.12 MB / 0.6357 GB, free: 14.47 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.8211, allocations: 75.95 kB / 0.6358 GB, free: 14.39 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.3169/1.138, allocations: 63.65 MB / 0.6979 GB, free: 94.32 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.138, allocations: 8.625 kB / 0.6979 GB, free: 94.32 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009863/1.148, allocations: 1.648 MB / 0.6995 GB, free: 92.72 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/1.151, allocations: 1.459 MB / 0.701 GB, free: 91.24 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000418/1.151, allocations: 0.6162 MB / 0.7016 GB, free: 90.52 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/1.151, allocations: 112 kB / 0.7017 GB, free: 90.41 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003194/1.154, allocations: 2.085 MB / 0.7037 GB, free: 88.33 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/1.158, allocations: 2.138 MB / 0.7058 GB, free: 86.17 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/1.158, allocations: 3.938 kB / 0.7058 GB, free: 86.17 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/1.158, allocations: 0 / 0.7058 GB, free: 86.17 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/1.158, allocations: 48 kB / 0.7058 GB, free: 86.12 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/1.172, allocations: 9.481 MB / 0.7151 GB, free: 76.38 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/1.175, allocations: 1.922 MB / 0.717 GB, free: 74.45 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/1.176, allocations: 1.362 MB / 0.7183 GB, free: 73.09 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/1.177, allocations: 45.73 kB / 0.7183 GB, free: 73.05 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.177, allocations: 60.55 kB / 0.7184 GB, free: 72.98 MB / 482.8 MB Notification: Performance of pre-optimization done (n=227): time 3.937e-06/1.177, allocations: 0 / 0.7184 GB, free: 72.98 MB / 482.8 MB Notification: Performance of matching and sorting (n=227): time 0.03355/1.21, allocations: 12.71 MB / 0.7308 GB, free: 60.29 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.21, allocations: 128.8 kB / 0.7309 GB, free: 60.14 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/1.212, allocations: 1.487 MB / 0.7324 GB, free: 58.63 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003972/1.213, allocations: 25.7 kB / 0.7324 GB, free: 58.6 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/1.213, allocations: 0.6632 MB / 0.7331 GB, free: 57.93 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008245/1.214, allocations: 0.7426 MB / 0.7338 GB, free: 57.17 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/1.214, allocations: 4 kB / 0.7338 GB, free: 57.17 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/1.214, allocations: 386.2 kB / 0.7342 GB, free: 56.79 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/1.216, allocations: 1.114 MB / 0.7353 GB, free: 55.67 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/1.217, allocations: 1.408 MB / 0.7366 GB, free: 54.16 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/1.219, allocations: 1.232 MB / 0.7378 GB, free: 52.93 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.219, allocations: 4 kB / 0.7378 GB, free: 52.92 MB / 482.8 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03459/1.254, allocations: 12.81 MB / 0.7503 GB, free: 40.12 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/1.254, allocations: 2.722 MB / 0.753 GB, free: 37.17 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.254, allocations: 8 kB / 0.753 GB, free: 37.16 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/1.269, allocations: 5.171 MB / 0.7581 GB, free: 32 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/1.271, allocations: 319.5 kB / 0.7584 GB, free: 31.68 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03384/1.305, allocations: 15.56 MB / 0.7736 GB, free: 15.98 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.308, allocations: 473.9 kB / 0.774 GB, free: 15.51 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/1.309, allocations: 87.91 kB / 0.7741 GB, free: 15.43 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/1.309, allocations: 4 kB / 0.7741 GB, free: 15.42 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03441/1.343, allocations: 12.5 MB / 0.7863 GB, free: 2.945 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.343, allocations: 11.94 kB / 0.7863 GB, free: 2.934 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/1.359, allocations: 5.171 MB / 0.7914 GB, free: 13.76 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.361, allocations: 315.4 kB / 0.7917 GB, free: 13.45 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03715/1.398, allocations: 15.56 MB / 0.8069 GB, free: 13.75 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/1.401, allocations: 454.1 kB / 0.8073 GB, free: 13.31 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.402, allocations: 79.97 kB / 0.8074 GB, free: 13.23 MB / 0.5027 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.000554/1.402, allocations: 141.9 kB / 0.8075 GB, free: 13.09 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004326/1.403, allocations: 272.6 kB / 0.8078 GB, free: 12.82 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/1.44, allocations: 12.95 MB / 0.8204 GB, free: 15.87 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/1.44, allocations: 24 kB / 0.8204 GB, free: 15.84 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.44, allocations: 19.91 kB / 0.8205 GB, free: 15.82 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/1.44, allocations: 15.95 kB / 0.8205 GB, free: 15.81 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/1.482, allocations: 16.12 MB / 0.8362 GB, free: 15.64 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.482, allocations: 0 / 0.8362 GB, free: 15.64 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.484, allocations: 251.8 kB / 0.8365 GB, free: 15.4 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/1.499, allocations: 5.019 MB / 0.8414 GB, free: 10.38 MB / 0.5339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004246/1.499, allocations: 12 kB / 0.8414 GB, free: 10.37 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03296/1.532, allocations: 13.69 MB / 0.8547 GB, free: 12.55 MB / 0.5496 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.532, allocations: 3.938 kB / 0.8547 GB, free: 12.55 MB / 0.5496 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04139/1.573, allocations: 14.9 MB / 0.8693 GB, free: 13.62 MB / 0.5652 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1862/1.76, allocations: 17.22 MB / 0.8861 GB, free: 199.4 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/1.76, allocations: 371 kB / 0.8865 GB, free: 199.3 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008067/1.761, allocations: 3.938 kB / 0.8865 GB, free: 199.3 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/1.764, allocations: 363.2 kB / 0.8868 GB, free: 199.3 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008215/1.765, allocations: 316.2 kB / 0.8871 GB, free: 199.3 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.765, allocations: 64.12 kB / 0.8872 GB, free: 199.3 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.001282/1.767, allocations: 1.114 MB / 0.8883 GB, free: 199.2 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.004318/1.771, allocations: 1.537 MB / 0.8898 GB, free: 199.2 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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.0003228/1.771, allocations: 151.2 kB / 0.8899 GB, free: 199.1 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.02277/1.794, allocations: 9.082 MB / 0.8988 GB, free: 198.6 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.794, allocations: 0 / 0.8988 GB, free: 198.6 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/1.804, allocations: 3.826 MB / 0.9025 GB, free: 198.4 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.806, allocations: 153.1 kB / 0.9027 GB, free: 198.4 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/1.815, allocations: 4.018 MB / 0.9066 GB, free: 197.4 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.816, allocations: 1.854 MB / 0.9084 GB, free: 196.6 MB / 0.5652 GB Notification: Performance of SimCode: time 4.71e-07/1.816, allocations: 0 / 0.9084 GB, free: 196.6 MB / 0.5652 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)