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.001618/0.001618, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 101 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4388/0.4388, allocations: 78.04 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.702e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3366, allocations: 69.34 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4558, allocations: 101.1 MB / 0.6468 GB, free: 15.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.456, allocations: 79.89 kB / 0.6469 GB, free: 15.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07852/0.5346, allocations: 29.79 MB / 0.6759 GB, free: 1.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5346, allocations: 0 / 0.6759 GB, free: 1.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.842e-05/0.5347, allocations: 24 kB / 0.676 GB, free: 1.246 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.3413/0.876, allocations: 1.461 MB / 0.6774 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.8761, allocations: 13.7 kB / 0.6774 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007309/0.8769, allocations: 108.2 kB / 0.6775 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.88, allocations: 414.3 kB / 0.6779 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.8819, allocations: 0.8615 MB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.8822, allocations: 245.5 kB / 0.679 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.8824, allocations: 70.06 kB / 0.6791 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.8842, allocations: 0.8554 MB / 0.6799 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.8842, allocations: 1.75 kB / 0.6799 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.254e-05/0.8843, allocations: 26.81 kB / 0.6799 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.8843, allocations: 15.38 kB / 0.6799 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.8859, allocations: 0.7779 MB / 0.6807 GB, free: 103.7 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.006971/0.8928, allocations: 3.621 MB / 0.6842 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.9069, allocations: 4 MB / 0.6881 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/0.9079, allocations: 488.5 kB / 0.6886 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.908, allocations: 14.25 kB / 0.6886 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.908, allocations: 48.59 kB / 0.6887 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.928e-06/0.908, allocations: 0 / 0.6887 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005651/0.9137, allocations: 2.134 MB / 0.6907 GB, free: 102.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9137, allocations: 114.2 kB / 0.6908 GB, free: 102.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.9152, allocations: 0.936 MB / 0.6918 GB, free: 102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.9153, allocations: 41.11 kB / 0.6918 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.9156, allocations: 473.8 kB / 0.6923 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.9158, allocations: 276 kB / 0.6925 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.9159, allocations: 17.88 kB / 0.6925 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.916, allocations: 335.1 kB / 0.6929 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.9166, allocations: 434.1 kB / 0.6933 GB, free: 100.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.9173, allocations: 0.5239 MB / 0.6938 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.9179, allocations: 470.8 kB / 0.6942 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9179, allocations: 3.719 kB / 0.6942 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00601/0.924, allocations: 2.391 MB / 0.6966 GB, free: 99.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.9241, allocations: 0.6162 MB / 0.6972 GB, free: 99.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.9241, allocations: 10.09 kB / 0.6972 GB, free: 99.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/0.9278, allocations: 1.012 MB / 0.6982 GB, free: 98.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.9287, allocations: 159.5 kB / 0.6983 GB, free: 98.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.9361, allocations: 4.463 MB / 0.7027 GB, free: 96.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.9378, allocations: 184.6 kB / 0.7029 GB, free: 96.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.9379, allocations: 23.34 kB / 0.7029 GB, free: 96.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.9379, allocations: 3.938 kB / 0.7029 GB, free: 96.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005773/0.9437, allocations: 2.256 MB / 0.7051 GB, free: 95.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9437, allocations: 0 / 0.7051 GB, free: 95.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/0.9472, allocations: 1.01 MB / 0.7061 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.9481, allocations: 151.4 kB / 0.7062 GB, free: 95.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007304/0.9554, allocations: 4.432 MB / 0.7105 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.957, allocations: 170.8 kB / 0.7107 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.9571, allocations: 28 kB / 0.7107 GB, free: 91.66 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.0002676/0.9574, allocations: 143.4 kB / 0.7109 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.9576, allocations: 118.5 kB / 0.711 GB, free: 91.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/0.963, allocations: 2.25 MB / 0.7132 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.963, allocations: 8 kB / 0.7132 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.963, allocations: 4 kB / 0.7132 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.963, allocations: 3.562 kB / 0.7132 GB, free: 89.55 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.007126/0.9702, allocations: 3.832 MB / 0.7169 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.9702, allocations: 4.031 kB / 0.7169 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.9709, allocations: 106.2 kB / 0.717 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.9734, allocations: 0.844 MB / 0.7179 GB, free: 85.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.234e-05/0.9735, allocations: 23.56 kB / 0.7179 GB, free: 85.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.9785, allocations: 3.369 MB / 0.7212 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9785, allocations: 0 / 0.7212 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.9845, allocations: 2.896 MB / 0.724 GB, free: 79.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.985, allocations: 229.8 kB / 0.7242 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.9851, allocations: 26.84 kB / 0.7243 GB, free: 79.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9862, allocations: 124.1 kB / 0.7244 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.9866, allocations: 130.2 kB / 0.7245 GB, free: 79.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.9866, allocations: 24 kB / 0.7245 GB, free: 79.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008847/0.9875, allocations: 0.7287 MB / 0.7252 GB, free: 78.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9875, allocations: 0 / 0.7252 GB, free: 78.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001476/0.989, allocations: 0.5434 MB / 0.7258 GB, free: 78.23 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.006167/0.9952, allocations: 3.569 MB / 0.7292 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006253/1.001, allocations: 3.105 MB / 0.7323 GB, free: 72.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.001, allocations: 384 / 0.7323 GB, free: 72.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/1.004, allocations: 1.217 MB / 0.7335 GB, free: 70.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/1.005, allocations: 102.9 kB / 0.7336 GB, free: 70.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/1.009, allocations: 2.133 MB / 0.7356 GB, free: 68.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/1.009, allocations: 1.108 MB / 0.7367 GB, free: 67.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008109/1.01, allocations: 208.4 kB / 0.7369 GB, free: 67.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/1.01, allocations: 408.2 kB / 0.7373 GB, free: 67.43 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/1.01, allocations: 0 / 0.7373 GB, free: 67.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/1.058, allocations: 33.01 MB / 0.7696 GB, free: 35.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.058, allocations: 187.7 kB / 0.7697 GB, free: 34.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.806, allocations: 7.766 kB / 0.7697 GB, free: 34.78 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)