Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_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.001834/0.001834, 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.436/1.436, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.001167/0.001168, allocations: 95.77 kB / 280.5 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5031/0.5031, allocations: 78.06 MB / 409.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.613e-05, allocations: 0 / 485 MB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.358, allocations: 69.36 MB / 0.5414 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4898, allocations: 100.4 MB / 0.6394 GB, free: 4.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4901, allocations: 75.95 kB / 0.6395 GB, free: 4.164 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07894/0.569, allocations: 29.47 MB / 0.6683 GB, free: 6.512 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5691, allocations: 0 / 0.6683 GB, free: 6.512 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.823e-05/0.5691, allocations: 24 kB / 0.6683 GB, free: 6.488 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.003422/0.5726, allocations: 1.461 MB / 0.6697 GB, free: 4.977 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5726, allocations: 12.03 kB / 0.6698 GB, free: 4.965 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.5748, allocations: 417.9 kB / 0.6702 GB, free: 4.555 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.5762, allocations: 0.8605 MB / 0.671 GB, free: 3.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.5765, allocations: 219.8 kB / 0.6712 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.5767, allocations: 47.86 kB / 0.6713 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/0.5781, allocations: 0.7524 MB / 0.672 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.5796, allocations: 0.7625 MB / 0.6727 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5796, allocations: 0 / 0.6727 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.5797, allocations: 4 kB / 0.6727 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.5798, allocations: 16 kB / 0.6728 GB, free: 1.789 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.3541/0.9338, allocations: 3.48 MB / 0.6762 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.9496, allocations: 3.973 MB / 0.68 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.9509, allocations: 460.6 kB / 0.6805 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.9511, allocations: 14.31 kB / 0.6805 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.9511, allocations: 42.28 kB / 0.6805 GB, free: 105.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/0.9511, allocations: 4 kB / 0.6805 GB, free: 105.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006517/0.9577, allocations: 2.093 MB / 0.6826 GB, free: 105.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.9577, allocations: 111.7 kB / 0.6827 GB, free: 105.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.9595, allocations: 0.8563 MB / 0.6835 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.9597, allocations: 25.7 kB / 0.6835 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.96, allocations: 486.6 kB / 0.684 GB, free: 105.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.9603, allocations: 268.8 kB / 0.6843 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.9604, allocations: 0 / 0.6843 GB, free: 104.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.9605, allocations: 342 kB / 0.6846 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.9612, allocations: 414.1 kB / 0.685 GB, free: 104.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.962, allocations: 0.5083 MB / 0.6855 GB, free: 104.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009582/0.963, allocations: 458.3 kB / 0.6859 GB, free: 104.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.963, allocations: 0 / 0.6859 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006925/0.9699, allocations: 2.317 MB / 0.6882 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.9702, allocations: 0.6209 MB / 0.6888 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.9702, allocations: 8.609 kB / 0.6888 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/0.9741, allocations: 1.001 MB / 0.6898 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.9752, allocations: 159.8 kB / 0.6899 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/0.9833, allocations: 4.302 MB / 0.6941 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.9853, allocations: 161.2 kB / 0.6943 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.9855, allocations: 31.3 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9855, allocations: 5.5 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00606/0.9916, allocations: 2.165 MB / 0.6964 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9916, allocations: 0 / 0.6964 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.9953, allocations: 1.002 MB / 0.6974 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.9964, allocations: 146.9 kB / 0.6975 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/1.004, allocations: 4.301 MB / 0.7017 GB, free: 97.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.006, allocations: 144.7 kB / 0.7019 GB, free: 97.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/1.006, allocations: 26.66 kB / 0.7019 GB, free: 97.85 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.0003613/1.006, allocations: 121.2 kB / 0.702 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00535/1.012, allocations: 2.089 MB / 0.7041 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/1.012, allocations: 117.2 kB / 0.7042 GB, free: 97.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/1.017, allocations: 2.172 MB / 0.7063 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.017, allocations: 5.969 kB / 0.7063 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.017, allocations: 11.47 kB / 0.7063 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.017, allocations: 7.844 kB / 0.7063 GB, free: 96.39 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.006893/1.024, allocations: 3.668 MB / 0.7099 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.024, allocations: 0 / 0.7099 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/1.025, allocations: 111.5 kB / 0.71 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/1.027, allocations: 0.847 MB / 0.7108 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/1.028, allocations: 16 kB / 0.7109 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/1.032, allocations: 3.262 MB / 0.714 GB, free: 91.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.032, allocations: 6.344 kB / 0.714 GB, free: 91.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005954/1.038, allocations: 2.828 MB / 0.7168 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.039, allocations: 223.5 kB / 0.717 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.039, allocations: 8 kB / 0.717 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.04, allocations: 114.1 kB / 0.7171 GB, free: 88.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/1.041, allocations: 145.2 kB / 0.7173 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/1.041, allocations: 16 kB / 0.7173 GB, free: 88.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009594/1.042, allocations: 0.6538 MB / 0.7179 GB, free: 87.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.382e-06/1.042, allocations: 0 / 0.7179 GB, free: 87.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001692/1.043, allocations: 0.5079 MB / 0.7184 GB, free: 87.18 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.006199/1.05, allocations: 3.496 MB / 0.7218 GB, free: 84.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006236/1.056, allocations: 3.007 MB / 0.7248 GB, free: 81.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.056, allocations: 8.062 kB / 0.7248 GB, free: 81.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/1.058, allocations: 1.18 MB / 0.7259 GB, free: 80.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/1.059, allocations: 85.31 kB / 0.726 GB, free: 79.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/1.063, allocations: 2.059 MB / 0.728 GB, free: 78.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/1.064, allocations: 1.113 MB / 0.7291 GB, free: 77.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009688/1.065, allocations: 203 kB / 0.7293 GB, free: 77.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.065, allocations: 408.1 kB / 0.7297 GB, free: 76.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.065, allocations: 0 / 0.7297 GB, free: 76.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05081/1.116, allocations: 30.32 MB / 0.7593 GB, free: 47.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.116, allocations: 121.6 kB / 0.7594 GB, free: 46.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/4.098, allocations: 0 / 0.7594 GB, free: 46.96 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)