Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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 3.2.3+maint.om/package.mo): time 0.002551/0.00255, allocations: 185.6 kB / 7.458 MB, free: 2.512 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.258/1.258, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008247/0.0008247, allocations: 96.67 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.06551/0.06551, allocations: 12.19 MB / 321.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2976/0.2976, allocations: 78.05 MB / 449.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2631/0.5607, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.6817, allocations: 69.23 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/1.038, allocations: 99.99 MB / 0.6789 GB, free: 8.988 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.039, allocations: 84.66 kB / 0.679 GB, free: 8.941 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.1734/1.212, allocations: 63.3 MB / 0.7408 GB, free: 4.516 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.212, allocations: 11.94 kB / 0.7408 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/1.223, allocations: 1.648 MB / 0.7424 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/1.229, allocations: 1.503 MB / 0.7439 GB, free: 1.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008109/1.23, allocations: 0.6201 MB / 0.7445 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/1.231, allocations: 119.9 kB / 0.7446 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006779/1.238, allocations: 2.093 MB / 0.7467 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007525/1.245, allocations: 2.165 MB / 0.7488 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/1.245, allocations: 0 / 0.7488 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000576/1.246, allocations: 0 / 0.7488 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/1.246, allocations: 51.89 kB / 0.7488 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02545/1.271, allocations: 9.588 MB / 0.7582 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/1.277, allocations: 1.967 MB / 0.7601 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003605/1.28, allocations: 1.378 MB / 0.7615 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004864/1.281, allocations: 41.88 kB / 0.7615 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/1.281, allocations: 60.56 kB / 0.7616 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=230): time 5.77e-06/1.281, allocations: 3.938 kB / 0.7616 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=230): time 0.04373/1.325, allocations: 12.75 MB / 0.774 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.325, allocations: 124.8 kB / 0.7741 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/1.329, allocations: 1.535 MB / 0.7756 GB, free: 344 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007334/1.33, allocations: 25.7 kB / 0.7757 GB, free: 312 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/1.331, allocations: 0.6675 MB / 0.7763 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001931/1.333, allocations: 0.7619 MB / 0.7771 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/1.334, allocations: 0 / 0.7771 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000338/1.334, allocations: 386.3 kB / 0.7774 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.337, allocations: 1.137 MB / 0.7785 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/1.34, allocations: 1.432 MB / 0.7799 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/1.343, allocations: 1.244 MB / 0.7812 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/1.343, allocations: 4 kB / 0.7812 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.04415/1.387, allocations: 12.92 MB / 0.7938 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001034/1.388, allocations: 2.731 MB / 0.7964 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.712e-05/1.388, allocations: 4 kB / 0.7964 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01929/1.407, allocations: 5.278 MB / 0.8016 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.409, allocations: 315.5 kB / 0.8019 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04626/1.456, allocations: 16.84 MB / 0.8184 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/1.46, allocations: 481.9 kB / 0.8188 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/1.46, allocations: 79.98 kB / 0.8189 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.46, allocations: 4 kB / 0.8189 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03964/1.5, allocations: 12.61 MB / 0.8312 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/1.5, allocations: 4 kB / 0.8312 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01874/1.519, allocations: 5.275 MB / 0.8364 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/1.521, allocations: 299.6 kB / 0.8367 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04397/1.565, allocations: 16.85 MB / 0.8531 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2135/1.778, allocations: 462.9 kB / 0.8535 GB, free: 215.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007688/1.779, allocations: 75.62 kB / 0.8536 GB, free: 215.2 MB / 0.573 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007515/1.78, allocations: 144.6 kB / 0.8538 GB, free: 215.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.781, allocations: 273.5 kB / 0.854 GB, free: 215.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0375/1.819, allocations: 12.99 MB / 0.8667 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/1.819, allocations: 24.34 kB / 0.8667 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/1.819, allocations: 21.08 kB / 0.8667 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.612e-05/1.819, allocations: 11.64 kB / 0.8668 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04272/1.861, allocations: 16.23 MB / 0.8826 GB, free: 214.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.862, allocations: 0 / 0.8826 GB, free: 214.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/1.863, allocations: 257.5 kB / 0.8829 GB, free: 214.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/1.879, allocations: 4.994 MB / 0.8877 GB, free: 214.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009547/1.88, allocations: 10.84 kB / 0.8877 GB, free: 214.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03501/1.915, allocations: 13.7 MB / 0.9011 GB, free: 212.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.915, allocations: 3.938 kB / 0.9011 GB, free: 212.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04302/1.958, allocations: 14.97 MB / 0.9157 GB, free: 203.7 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04389/2.002, allocations: 17.32 MB / 0.9327 GB, free: 188.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/2.003, allocations: 379.9 kB / 0.933 GB, free: 188.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/2.003, allocations: 8 kB / 0.933 GB, free: 188.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/2.007, allocations: 361.7 kB / 0.9334 GB, free: 188.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008955/2.007, allocations: 322.6 kB / 0.9337 GB, free: 188.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/2.008, allocations: 56 kB / 0.9337 GB, free: 188.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001884/2.01, allocations: 1.156 MB / 0.9349 GB, free: 187 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006544/2.016, allocations: 1.57 MB / 0.9364 GB, free: 185.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (149): * Single equations (assignments): 148 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005026/2.017, allocations: 143.2 kB / 0.9365 GB, free: 185.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02716/2.044, allocations: 9.431 MB / 0.9457 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/2.044, allocations: 0 / 0.9457 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01213/2.056, allocations: 3.831 MB / 0.9495 GB, free: 173.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/2.058, allocations: 153.2 kB / 0.9496 GB, free: 173.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/2.07, allocations: 4.304 MB / 0.9538 GB, free: 169.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/2.072, allocations: 1.892 MB / 0.9557 GB, free: 168.1 MB / 0.573 GB Notification: Performance of SimCode: time 8.11e-07/2.072, allocations: 0 / 0.9557 GB, free: 168.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)