Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1",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.001006/0.001006, allocations: 180.9 kB / 7.65 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.769/1.769, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009339/0.0009335, allocations: 89.36 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08237/0.08237, allocations: 12.19 MB / 321.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3224/0.3224, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.765e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1825, allocations: 69.24 MB / 0.5819 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.7347, allocations: 99.74 MB / 0.6793 GB, free: 8.762 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.735, allocations: 81.14 kB / 0.6793 GB, free: 8.719 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05267/0.7877, allocations: 21.3 MB / 0.7001 GB, free: 7.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7877, allocations: 4 kB / 0.7001 GB, free: 7.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.67e-05/0.7878, allocations: 15.56 kB / 0.7002 GB, free: 7.129 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003111/0.7909, allocations: 1.265 MB / 0.7014 GB, free: 5.891 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.791, allocations: 8.031 kB / 0.7014 GB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.7931, allocations: 386.8 kB / 0.7018 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.794, allocations: 0.6092 MB / 0.7024 GB, free: 5.031 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.7942, allocations: 134.4 kB / 0.7025 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.7943, allocations: 39.44 kB / 0.7025 GB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009332/0.7952, allocations: 0.5583 MB / 0.7031 GB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.7962, allocations: 0.6087 MB / 0.7037 GB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.7963, allocations: 0 / 0.7037 GB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.7963, allocations: 4 kB / 0.7037 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.7963, allocations: 12 kB / 0.7037 GB, free: 4.078 MB / 442.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.00467/0.801, allocations: 2.787 MB / 0.7064 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.8141, allocations: 3.671 MB / 0.71 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.815, allocations: 375.5 kB / 0.7104 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.8151, allocations: 8.562 kB / 0.7104 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.8151, allocations: 41.44 kB / 0.7104 GB, free: 14.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 4.849e-06/0.8152, allocations: 0 / 0.7104 GB, free: 14.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005616/0.8208, allocations: 1.891 MB / 0.7122 GB, free: 12.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.8209, allocations: 85.42 kB / 0.7123 GB, free: 12.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.8218, allocations: 0.6265 MB / 0.7129 GB, free: 12.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.921e-05/0.8219, allocations: 25.7 kB / 0.713 GB, free: 12.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.8222, allocations: 383.7 kB / 0.7133 GB, free: 11.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.8225, allocations: 223.2 kB / 0.7135 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.8225, allocations: 0 / 0.7135 GB, free: 11.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8227, allocations: 336.2 kB / 0.7139 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.8232, allocations: 325.1 kB / 0.7142 GB, free: 11.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.8238, allocations: 421.3 kB / 0.7146 GB, free: 10.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.8243, allocations: 360.6 kB / 0.7149 GB, free: 10.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.8243, allocations: 0 / 0.7149 GB, free: 10.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005958/0.8303, allocations: 2.117 MB / 0.717 GB, free: 9.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.8306, allocations: 0.7171 MB / 0.7177 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.8306, allocations: 0 / 0.7177 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/0.8345, allocations: 1.013 MB / 0.7187 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.8351, allocations: 103.8 kB / 0.7188 GB, free: 7.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007806/0.843, allocations: 4.297 MB / 0.723 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.8442, allocations: 111.4 kB / 0.7231 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.8443, allocations: 21.81 kB / 0.7231 GB, free: 3.988 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.8443, allocations: 4 kB / 0.7231 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005801/0.8501, allocations: 1.997 MB / 0.7251 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.8502, allocations: 7.938 kB / 0.7251 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/0.854, allocations: 0.9958 MB / 0.726 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.8547, allocations: 99.33 kB / 0.7261 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007761/0.8625, allocations: 4.307 MB / 0.7303 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.8638, allocations: 103.3 kB / 0.7304 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.8639, allocations: 22.5 kB / 0.7305 GB, free: 14.09 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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.0004282/0.8643, allocations: 120.8 kB / 0.7306 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005388/0.8697, allocations: 1.897 MB / 0.7324 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.8699, allocations: 82.97 kB / 0.7325 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.8753, allocations: 1.971 MB / 0.7344 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.8753, allocations: 8 kB / 0.7344 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.8753, allocations: 4 kB / 0.7344 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.8753, allocations: 7.922 kB / 0.7344 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/0.8823, allocations: 3.169 MB / 0.7375 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.8823, allocations: 8.062 kB / 0.7375 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.8829, allocations: 79.89 kB / 0.7376 GB, free: 7.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.8856, allocations: 0.8429 MB / 0.7384 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/0.8857, allocations: 7.984 kB / 0.7385 GB, free: 6.621 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005404/0.8911, allocations: 3.275 MB / 0.7417 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.8912, allocations: 0 / 0.7417 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.8972, allocations: 2.533 MB / 0.7441 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.8976, allocations: 183.8 kB / 0.7443 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.8977, allocations: 4 kB / 0.7443 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/0.8985, allocations: 79.88 kB / 0.7444 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.8989, allocations: 120.4 kB / 0.7445 GB, free: 260 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.8989, allocations: 16 kB / 0.7445 GB, free: 244 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006631/0.8996, allocations: 487.2 kB / 0.745 GB, free: 15.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8996, allocations: 0 / 0.745 GB, free: 15.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001427/0.901, allocations: 439.3 kB / 0.7454 GB, free: 15.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.006403/0.9075, allocations: 3.247 MB / 0.7486 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006667/0.9141, allocations: 2.699 MB / 0.7512 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.9142, allocations: 4 kB / 0.7512 GB, free: 9.219 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.9168, allocations: 1.101 MB / 0.7523 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/0.9177, allocations: 43.31 kB / 0.7523 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.9214, allocations: 1.589 MB / 0.7539 GB, free: 6.383 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.922, allocations: 0.9995 MB / 0.7548 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005499/0.9226, allocations: 110.9 kB / 0.755 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.923, allocations: 299.9 kB / 0.7552 GB, free: 4.953 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.923, allocations: 0 / 0.7552 GB, free: 4.953 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.9775, allocations: 25.27 MB / 0.7799 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.9777, allocations: 136.7 kB / 0.78 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.595, allocations: 0 / 0.78 GB, free: 11.52 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)