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.000973/0.000973, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0007601/0.0007601, allocations: 82.59 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06015/0.06015, allocations: 12.19 MB / 326.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2703/0.2703, allocations: 78.02 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.229e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 69.24 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5278, allocations: 100.4 MB / 0.687 GB, free: 15.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.5281, allocations: 78.27 kB / 0.6871 GB, free: 15.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05507/0.5832, allocations: 21.55 MB / 0.7081 GB, free: 13.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5832, allocations: 0 / 0.7081 GB, free: 13.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/0.5832, allocations: 16 kB / 0.7081 GB, free: 13.2 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002976/0.5862, allocations: 1.274 MB / 0.7094 GB, free: 11.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5863, allocations: 11.98 kB / 0.7094 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.5864, allocations: 99.31 kB / 0.7095 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.5885, allocations: 390.8 kB / 0.7099 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.5894, allocations: 0.6201 MB / 0.7105 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.5896, allocations: 148.3 kB / 0.7106 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.5897, allocations: 54.56 kB / 0.7107 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.5908, allocations: 0.6823 MB / 0.7113 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5909, allocations: 0 / 0.7113 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.5909, allocations: 22.94 kB / 0.7113 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.591, allocations: 12 kB / 0.7114 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009115/0.5919, allocations: 0.5774 MB / 0.7119 GB, free: 10 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.004602/0.5965, allocations: 2.886 MB / 0.7147 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.6095, allocations: 3.68 MB / 0.7183 GB, free: 4.363 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.6102, allocations: 402.2 kB / 0.7187 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.6103, allocations: 8.562 kB / 0.7187 GB, free: 4.141 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.6103, allocations: 39 kB / 0.7188 GB, free: 4.098 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 2.535e-06/0.6103, allocations: 4 kB / 0.7188 GB, free: 4.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005472/0.6158, allocations: 1.94 MB / 0.7207 GB, free: 2.508 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.6159, allocations: 89.62 kB / 0.7207 GB, free: 2.402 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.6168, allocations: 0.6673 MB / 0.7214 GB, free: 1.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.6169, allocations: 36.95 kB / 0.7214 GB, free: 1.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.6171, allocations: 394.3 kB / 0.7218 GB, free: 1.641 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.6173, allocations: 227.4 kB / 0.722 GB, free: 1.445 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.6174, allocations: 14.5 kB / 0.722 GB, free: 1.441 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6175, allocations: 328.2 kB / 0.7224 GB, free: 1.125 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.618, allocations: 334.9 kB / 0.7227 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.6186, allocations: 437 kB / 0.7231 GB, free: 0.668 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.6192, allocations: 378.7 kB / 0.7234 GB, free: 468 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6192, allocations: 3.938 kB / 0.7235 GB, free: 464 kB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006058/0.6253, allocations: 2.18 MB / 0.7256 GB, free: 14.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.6256, allocations: 0.7124 MB / 0.7263 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6256, allocations: 0 / 0.7263 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.6294, allocations: 1.02 MB / 0.7273 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.63, allocations: 115.2 kB / 0.7274 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008107/0.6381, allocations: 4.449 MB / 0.7317 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6392, allocations: 121.6 kB / 0.7318 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.6393, allocations: 27.25 kB / 0.7319 GB, free: 9.477 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6393, allocations: 4 kB / 0.7319 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005865/0.6451, allocations: 2.063 MB / 0.7339 GB, free: 7.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6452, allocations: 7.953 kB / 0.7339 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/0.6489, allocations: 1.013 MB / 0.7349 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.6494, allocations: 99.08 kB / 0.735 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/0.6573, allocations: 4.451 MB / 0.7393 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6584, allocations: 109.1 kB / 0.7394 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.6585, allocations: 26.75 kB / 0.7395 GB, free: 3.41 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.0002401/0.6587, allocations: 150.1 kB / 0.7396 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.6589, allocations: 90.48 kB / 0.7397 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/0.6642, allocations: 2.023 MB / 0.7417 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.6642, allocations: 4 kB / 0.7417 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6642, allocations: 4 kB / 0.7417 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6642, allocations: 3.984 kB / 0.7417 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006992/0.6712, allocations: 3.309 MB / 0.7449 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6713, allocations: 0 / 0.7449 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.6718, allocations: 83.89 kB / 0.745 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.6746, allocations: 0.8489 MB / 0.7458 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.6747, allocations: 19.98 kB / 0.7458 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/0.6803, allocations: 3.362 MB / 0.7491 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6803, allocations: 0 / 0.7491 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/0.6864, allocations: 2.584 MB / 0.7516 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.6868, allocations: 187.9 kB / 0.7518 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6869, allocations: 12 kB / 0.7518 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/0.6877, allocations: 75.94 kB / 0.7519 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.688, allocations: 124.3 kB / 0.752 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.6881, allocations: 16 kB / 0.752 GB, free: 6.953 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006712/0.6888, allocations: 0.5226 MB / 0.7525 GB, free: 6.438 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6888, allocations: 0 / 0.7525 GB, free: 6.438 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001251/0.69, allocations: 491.3 kB / 0.753 GB, free: 5.957 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.006336/0.6964, allocations: 3.311 MB / 0.7562 GB, free: 2.598 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006475/0.7029, allocations: 2.795 MB / 0.759 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7029, allocations: 0 / 0.759 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.7055, allocations: 1.126 MB / 0.7601 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.7061, allocations: 63.27 kB / 0.7601 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.7095, allocations: 1.647 MB / 0.7617 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.71, allocations: 0.9957 MB / 0.7627 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005276/0.7105, allocations: 119 kB / 0.7628 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.7109, allocations: 299.9 kB / 0.7631 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/0.7109, allocations: 0 / 0.7631 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.7578, allocations: 27.39 MB / 0.7899 GB, free: 28 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.7581, allocations: 178.1 kB / 0.79 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.381, allocations: 0 / 0.79 GB, free: 15.8 MB / 0.5261 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)