Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_1.Example_1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.009299/0.009299, allocations: 169.8 kB / 15.11 MB, free: 5.969 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.491/1.491, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009461/0.000946, allocations: 97.2 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.492/0.492, allocations: 79.44 MB / 420.8 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 0.4891 GB, free: 6.309 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 69.51 MB / 0.557 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5731, allocations: 99.65 MB / 0.6543 GB, free: 1.562 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5733, allocations: 85.5 kB / 0.6544 GB, free: 1.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06287/0.6362, allocations: 22.46 MB / 0.6763 GB, free: 11.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6363, allocations: 0 / 0.6763 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.65e-05/0.6363, allocations: 17.31 kB / 0.6764 GB, free: 11.04 MB / 474.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.004483/0.6408, allocations: 1.478 MB / 0.6778 GB, free: 9.508 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.6409, allocations: 8.031 kB / 0.6778 GB, free: 9.5 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003232/0.6412, allocations: 98.7 kB / 0.6779 GB, free: 9.395 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.6437, allocations: 390.4 kB / 0.6783 GB, free: 9.012 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.6453, allocations: 0.6094 MB / 0.6789 GB, free: 8.363 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.6455, allocations: 150.7 kB / 0.679 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.6457, allocations: 59.95 kB / 0.6791 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6475, allocations: 0.8189 MB / 0.6799 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.6475, allocations: 1.938 kB / 0.6799 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.6476, allocations: 20 kB / 0.6799 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.6476, allocations: 12 kB / 0.6799 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.6491, allocations: 0.7352 MB / 0.6806 GB, free: 6.535 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006165/0.6553, allocations: 2.876 MB / 0.6834 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/0.6696, allocations: 3.919 MB / 0.6873 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.6699, allocations: 8.547 kB / 0.6873 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.6699, allocations: 44.81 kB / 0.6873 GB, free: 15.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 4.308e-06/0.6699, allocations: 0 / 0.6873 GB, free: 15.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01292/0.6829, allocations: 3.885 MB / 0.6911 GB, free: 11.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.683, allocations: 89.67 kB / 0.6912 GB, free: 11.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.6845, allocations: 0.6644 MB / 0.6918 GB, free: 10.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.6847, allocations: 41.7 kB / 0.6919 GB, free: 10.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.6851, allocations: 384.6 kB / 0.6922 GB, free: 10.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/0.6855, allocations: 228.6 kB / 0.6925 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.6856, allocations: 12 kB / 0.6925 GB, free: 10.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6858, allocations: 333.9 kB / 0.6928 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.6869, allocations: 477.8 kB / 0.6932 GB, free: 9.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.688, allocations: 0.5606 MB / 0.6938 GB, free: 8.715 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.6892, allocations: 0.492 MB / 0.6943 GB, free: 8.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6892, allocations: 0 / 0.6943 GB, free: 8.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.008032/0.6972, allocations: 2.556 MB / 0.6968 GB, free: 5.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.6976, allocations: 0.7017 MB / 0.6975 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.6977, allocations: 0 / 0.6975 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00499/0.7027, allocations: 1.25 MB / 0.6987 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.7034, allocations: 111.8 kB / 0.6988 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.7169, allocations: 5.575 MB / 0.7042 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.7186, allocations: 123.3 kB / 0.7043 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.7188, allocations: 27.98 kB / 0.7044 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7189, allocations: 4 kB / 0.7044 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007894/0.7268, allocations: 2.418 MB / 0.7067 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.7269, allocations: 3.984 kB / 0.7067 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/0.7319, allocations: 1.25 MB / 0.708 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.7327, allocations: 99.83 kB / 0.7081 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.7457, allocations: 5.572 MB / 0.7135 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.7471, allocations: 111.4 kB / 0.7136 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.7473, allocations: 34.52 kB / 0.7136 GB, free: 4.07 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = true 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 () * Number of clocked 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.0009378/0.7483, allocations: 284 kB / 0.7139 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/0.7487, allocations: 82.97 kB / 0.714 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007024/0.7557, allocations: 2.399 MB / 0.7163 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.7558, allocations: 8 kB / 0.7163 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/0.7558, allocations: 7.953 kB / 0.7163 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.7558, allocations: 3.984 kB / 0.7163 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.7655, allocations: 3.678 MB / 0.7199 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.7656, allocations: 0 / 0.7199 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.7662, allocations: 87.95 kB / 0.72 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/0.7699, allocations: 1.081 MB / 0.7211 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.77, allocations: 19.98 kB / 0.7211 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008683/0.7787, allocations: 4.277 MB / 0.7253 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.7788, allocations: 0 / 0.7253 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008218/0.787, allocations: 3.087 MB / 0.7283 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.7875, allocations: 180 kB / 0.7285 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.7878, allocations: 19.94 kB / 0.7285 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.7888, allocations: 83.92 kB / 0.7286 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/0.7893, allocations: 124.3 kB / 0.7287 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.7893, allocations: 16 kB / 0.7287 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009759/0.7903, allocations: 0.5303 MB / 0.7292 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7903, allocations: 0 / 0.7292 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001894/0.7922, allocations: 495.2 kB / 0.7297 GB, free: 3.297 MB / 0.5105 GB 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 () * Number of clocked 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.008989/0.8012, allocations: 3.811 MB / 0.7334 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00891/0.8102, allocations: 3.147 MB / 0.7365 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.8103, allocations: 0 / 0.7365 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.8136, allocations: 1.264 MB / 0.7377 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.8145, allocations: 63.3 kB / 0.7378 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006263/0.8208, allocations: 3.879 MB / 0.7416 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.8216, allocations: 0.9945 MB / 0.7425 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004774/0.822, allocations: 60.7 kB / 0.7426 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.8226, allocations: 305.5 kB / 0.7429 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.8226, allocations: 4 kB / 0.7429 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05257/0.8752, allocations: 25.8 MB / 0.7681 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.8755, allocations: 199.3 kB / 0.7683 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/3.863, allocations: 0 / 0.7683 GB, free: 11.66 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)