Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001246/0.001246, 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 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008958/0.0008957, allocations: 83.19 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09591/0.09591, allocations: 12.2 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3189/0.3189, allocations: 78.07 MB / 450.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.878e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 69.23 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6705/0.823, allocations: 101.9 MB / 0.6814 GB, free: 6.637 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004207/0.8236, allocations: 79.12 kB / 0.6815 GB, free: 6.598 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08014/0.9037, allocations: 28.77 MB / 0.7096 GB, free: 14.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.9038, allocations: 0 / 0.7096 GB, free: 14.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.9039, allocations: 27.98 kB / 0.7096 GB, free: 14.94 MB / 458.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.004173/0.908, allocations: 1.47 MB / 0.711 GB, free: 13.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.9081, allocations: 12.03 kB / 0.711 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.9107, allocations: 412.4 kB / 0.7114 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.9127, allocations: 0.8797 MB / 0.7123 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.913, allocations: 222.6 kB / 0.7125 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.9132, allocations: 43.41 kB / 0.7126 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/0.9145, allocations: 0.7482 MB / 0.7133 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.916, allocations: 0.7589 MB / 0.714 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.916, allocations: 4 kB / 0.714 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.9161, allocations: 0 / 0.714 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.9161, allocations: 16 kB / 0.714 GB, free: 11.2 MB / 458.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.00703/0.9231, allocations: 3.493 MB / 0.7175 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.9368, allocations: 3.972 MB / 0.7213 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/0.9378, allocations: 462.6 kB / 0.7218 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.938, allocations: 16.77 kB / 0.7218 GB, free: 4.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.938, allocations: 50.33 kB / 0.7218 GB, free: 4.766 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/0.938, allocations: 0 / 0.7218 GB, free: 4.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.006136/0.9442, allocations: 2.08 MB / 0.7239 GB, free: 3.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.9443, allocations: 119 kB / 0.724 GB, free: 2.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.9461, allocations: 0.8621 MB / 0.7248 GB, free: 2.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002858/0.9464, allocations: 25.7 kB / 0.7248 GB, free: 2.316 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.9468, allocations: 488.5 kB / 0.7253 GB, free: 2.047 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.9472, allocations: 271.3 kB / 0.7256 GB, free: 1.812 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.9472, allocations: 3.938 kB / 0.7256 GB, free: 1.809 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9474, allocations: 335.1 kB / 0.7259 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.9481, allocations: 410.2 kB / 0.7263 GB, free: 1.285 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.9488, allocations: 0.5114 MB / 0.7268 GB, free: 0.957 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.9495, allocations: 460.2 kB / 0.7272 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.9495, allocations: 3.953 kB / 0.7272 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006807/0.9563, allocations: 2.316 MB / 0.7295 GB, free: 14.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.9567, allocations: 0.6168 MB / 0.7301 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.9567, allocations: 0 / 0.7301 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/0.9608, allocations: 1.007 MB / 0.7311 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.962, allocations: 167 kB / 0.7312 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008612/0.9706, allocations: 4.303 MB / 0.7354 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.973, allocations: 159.2 kB / 0.7356 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.9732, allocations: 31.67 kB / 0.7356 GB, free: 9.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.9732, allocations: 4 kB / 0.7356 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006583/0.9798, allocations: 2.163 MB / 0.7377 GB, free: 7.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.9799, allocations: 7.984 kB / 0.7377 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/0.9838, allocations: 0.9899 MB / 0.7387 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.9849, allocations: 151.8 kB / 0.7389 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.9933, allocations: 4.292 MB / 0.743 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.9952, allocations: 151.2 kB / 0.7432 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.9954, allocations: 31.98 kB / 0.7432 GB, free: 1.852 MB / 474.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.0004272/0.9958, allocations: 116.8 kB / 0.7433 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006143/1.002, allocations: 2.086 MB / 0.7454 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006956/1.003, allocations: 110.6 kB / 0.7455 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006101/1.009, allocations: 2.173 MB / 0.7476 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.009, allocations: 8 kB / 0.7476 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.009, allocations: 8 kB / 0.7476 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/1.009, allocations: 3.984 kB / 0.7476 GB, free: 13.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.009598/1.019, allocations: 3.685 MB / 0.7512 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.019, allocations: 3.938 kB / 0.7512 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/1.02, allocations: 111.9 kB / 0.7513 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/1.022, allocations: 0.8394 MB / 0.7521 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/1.023, allocations: 8 kB / 0.7522 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006127/1.029, allocations: 3.289 MB / 0.7554 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.029, allocations: 4.172 kB / 0.7554 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007434/1.036, allocations: 2.823 MB / 0.7581 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/1.037, allocations: 227.5 kB / 0.7583 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/1.037, allocations: 8 kB / 0.7584 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.039, allocations: 120 kB / 0.7585 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/1.039, allocations: 132.5 kB / 0.7586 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/1.039, allocations: 23.95 kB / 0.7586 GB, free: 1.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001258/1.04, allocations: 0.6588 MB / 0.7593 GB, free: 1.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.04, allocations: 0 / 0.7593 GB, free: 1.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002076/1.042, allocations: 0.503 MB / 0.7597 GB, free: 0.6133 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.007514/1.05, allocations: 3.49 MB / 0.7632 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008072/1.058, allocations: 3 MB / 0.7661 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.058, allocations: 4 kB / 0.7661 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003098/1.061, allocations: 1.192 MB / 0.7673 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.063, allocations: 83.66 kB / 0.7673 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/1.068, allocations: 2.061 MB / 0.7693 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/1.069, allocations: 1.118 MB / 0.7704 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001018/1.07, allocations: 208.6 kB / 0.7706 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/1.07, allocations: 403.3 kB / 0.771 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of SimCode: time 1.784e-06/1.07, allocations: 0 / 0.771 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.074/1.144, allocations: 30.4 MB / 0.8007 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/1.145, allocations: 136.8 kB / 0.8008 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.202, allocations: 3.938 kB / 0.8008 GB, free: 6.234 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)