Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.285/1.285, allocations: 221.5 MB / 229.6 MB, free: 3.113 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.0008097/0.0008097, allocations: 94.61 kB / 280.5 MB, free: 1.125 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5482/0.5482, allocations: 78.13 MB / 409.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.962e-05, allocations: 4 kB / 485.1 MB, free: 4.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 69.35 MB / 0.5414 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5445, allocations: 100.4 MB / 0.6395 GB, free: 4.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5448, allocations: 83.95 kB / 0.6396 GB, free: 4.148 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08394/0.6288, allocations: 29.46 MB / 0.6683 GB, free: 6.504 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.6288, allocations: 0 / 0.6683 GB, free: 6.504 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.6289, allocations: 20.19 kB / 0.6683 GB, free: 6.484 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004277/0.6332, allocations: 1.471 MB / 0.6698 GB, free: 4.965 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.6332, allocations: 8.031 kB / 0.6698 GB, free: 4.957 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.6359, allocations: 418 kB / 0.6702 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.638, allocations: 0.8643 MB / 0.671 GB, free: 3.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.6384, allocations: 223.8 kB / 0.6713 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.6387, allocations: 47.86 kB / 0.6713 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/0.6403, allocations: 0.7485 MB / 0.672 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.6418, allocations: 0.7586 MB / 0.6728 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.6418, allocations: 0 / 0.6728 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.6419, allocations: 0 / 0.6728 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.6419, allocations: 23.94 kB / 0.6728 GB, free: 1.777 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3642/1.006, allocations: 3.483 MB / 0.6762 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/1.022, allocations: 3.972 MB / 0.6801 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/1.023, allocations: 462.8 kB / 0.6805 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/1.023, allocations: 15.97 kB / 0.6805 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.023, allocations: 39.25 kB / 0.6806 GB, free: 105.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.988e-06/1.023, allocations: 0 / 0.6806 GB, free: 105.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006669/1.03, allocations: 2.092 MB / 0.6826 GB, free: 105.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/1.03, allocations: 116.7 kB / 0.6827 GB, free: 105.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/1.033, allocations: 0.8541 MB / 0.6836 GB, free: 105.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000338/1.033, allocations: 25.7 kB / 0.6836 GB, free: 105.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/1.034, allocations: 488.2 kB / 0.684 GB, free: 105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/1.034, allocations: 266.4 kB / 0.6843 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/1.034, allocations: 2.375 kB / 0.6843 GB, free: 104.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/1.034, allocations: 340.5 kB / 0.6846 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/1.035, allocations: 417.2 kB / 0.685 GB, free: 104.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/1.036, allocations: 0.5011 MB / 0.6855 GB, free: 104.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007916/1.037, allocations: 464.1 kB / 0.686 GB, free: 104.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.037, allocations: 1.281 kB / 0.686 GB, free: 104.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006637/1.043, allocations: 2.326 MB / 0.6882 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/1.043, allocations: 0.6103 MB / 0.6888 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.043, allocations: 3.281 kB / 0.6888 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/1.047, allocations: 1.009 MB / 0.6898 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/1.048, allocations: 154 kB / 0.69 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/1.056, allocations: 4.303 MB / 0.6942 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.057, allocations: 159.8 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/1.057, allocations: 27.34 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.057, allocations: 3.812 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006115/1.064, allocations: 2.171 MB / 0.6965 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.064, allocations: 2.438 kB / 0.6965 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/1.067, allocations: 1.001 MB / 0.6974 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/1.068, allocations: 144.3 kB / 0.6976 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008181/1.076, allocations: 4.301 MB / 0.7018 GB, free: 97.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.078, allocations: 140.9 kB / 0.7019 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/1.078, allocations: 35.36 kB / 0.7019 GB, free: 97.77 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003651/1.079, allocations: 122.5 kB / 0.7021 GB, free: 97.65 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005494/1.084, allocations: 2.09 MB / 0.7041 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/1.085, allocations: 107.7 kB / 0.7042 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/1.09, allocations: 2.181 MB / 0.7063 GB, free: 96.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.09, allocations: 7.25 kB / 0.7063 GB, free: 96.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.09, allocations: 5.703 kB / 0.7063 GB, free: 96.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.09, allocations: 3.891 kB / 0.7064 GB, free: 96.31 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0077/1.098, allocations: 3.684 MB / 0.7099 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.098, allocations: 0 / 0.7099 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/1.099, allocations: 109.3 kB / 0.7101 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/1.101, allocations: 0.8295 MB / 0.7109 GB, free: 94.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.673e-05/1.101, allocations: 19.31 kB / 0.7109 GB, free: 94.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/1.106, allocations: 3.271 MB / 0.7141 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.106, allocations: 4.938 kB / 0.7141 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006328/1.113, allocations: 2.825 MB / 0.7168 GB, free: 88.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/1.113, allocations: 232.7 kB / 0.7171 GB, free: 88.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/1.114, allocations: 4 kB / 0.7171 GB, free: 88.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.115, allocations: 116.4 kB / 0.7172 GB, free: 88.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/1.115, allocations: 141.3 kB / 0.7173 GB, free: 88.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/1.115, allocations: 20 kB / 0.7173 GB, free: 88.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008701/1.116, allocations: 0.6578 MB / 0.718 GB, free: 87.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.116, allocations: 0 / 0.718 GB, free: 87.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001671/1.118, allocations: 0.5011 MB / 0.7185 GB, free: 87.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006309/1.124, allocations: 3.502 MB / 0.7219 GB, free: 83.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006456/1.131, allocations: 3.001 MB / 0.7248 GB, free: 81.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.131, allocations: 384 / 0.7248 GB, free: 81.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/1.133, allocations: 1.18 MB / 0.726 GB, free: 79.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.134, allocations: 94.42 kB / 0.7261 GB, free: 79.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/1.139, allocations: 2.063 MB / 0.7281 GB, free: 78.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.139, allocations: 1.109 MB / 0.7292 GB, free: 77.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008901/1.14, allocations: 211.5 kB / 0.7294 GB, free: 76.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/1.141, allocations: 401.8 kB / 0.7297 GB, free: 76.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/1.141, allocations: 0 / 0.7297 GB, free: 76.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/1.2, allocations: 30.32 MB / 0.7593 GB, free: 47.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.201, allocations: 139.4 kB / 0.7595 GB, free: 46.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/4.106, allocations: 4.031 kB / 0.7595 GB, free: 46.87 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)