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.005106/0.005106, allocations: 170.3 kB / 15.11 MB, free: 5.973 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.294/1.294, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008599/0.00086, allocations: 90.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07249/0.07249, allocations: 12.2 MB / 330.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4608/0.4608, allocations: 78.53 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005239, allocations: 24.84 kB / 0.528 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 69.24 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5563, allocations: 100.5 MB / 0.6938 GB, free: 97.97 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5566, allocations: 80.97 kB / 0.6939 GB, free: 97.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05858/0.6152, allocations: 21.61 MB / 0.715 GB, free: 93.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6152, allocations: 4 kB / 0.715 GB, free: 93.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.6154, allocations: 18.27 kB / 0.715 GB, free: 93.34 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.004815/0.6202, allocations: 1.478 MB / 0.7164 GB, free: 92.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.6203, allocations: 18.23 kB / 0.7164 GB, free: 92.31 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003152/0.6206, allocations: 98.89 kB / 0.7165 GB, free: 92.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.623, allocations: 389.4 kB / 0.7169 GB, free: 92.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6244, allocations: 0.6129 MB / 0.7175 GB, free: 91.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.6246, allocations: 149.8 kB / 0.7177 GB, free: 91.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.6247, allocations: 63.47 kB / 0.7177 GB, free: 91.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.6263, allocations: 0.8161 MB / 0.7185 GB, free: 90.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.6263, allocations: 0 / 0.7185 GB, free: 90.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.6264, allocations: 19.97 kB / 0.7185 GB, free: 90.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.6264, allocations: 11.72 kB / 0.7185 GB, free: 90.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.6278, allocations: 0.7337 MB / 0.7193 GB, free: 90.55 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.004904/0.6327, allocations: 2.878 MB / 0.7221 GB, free: 88.31 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.6454, allocations: 3.912 MB / 0.7259 GB, free: 84.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.6456, allocations: 8.562 kB / 0.7259 GB, free: 84.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6457, allocations: 43.06 kB / 0.7259 GB, free: 84.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.947e-06/0.6457, allocations: 0 / 0.7259 GB, free: 84.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.0113/0.657, allocations: 3.889 MB / 0.7297 GB, free: 80.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.6571, allocations: 85.67 kB / 0.7298 GB, free: 80.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.6583, allocations: 0.6798 MB / 0.7305 GB, free: 79.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.6585, allocations: 37.7 kB / 0.7305 GB, free: 79.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.6587, allocations: 384.7 kB / 0.7309 GB, free: 79.53 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.6589, allocations: 232.5 kB / 0.7311 GB, free: 79.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.659, allocations: 16 kB / 0.7311 GB, free: 79.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.6591, allocations: 337.9 kB / 0.7314 GB, free: 78.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000841/0.6599, allocations: 477.7 kB / 0.7319 GB, free: 78.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008683/0.6608, allocations: 0.5568 MB / 0.7324 GB, free: 77.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.6617, allocations: 0.4997 MB / 0.7329 GB, free: 77.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.6617, allocations: 0 / 0.7329 GB, free: 77.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006928/0.6687, allocations: 2.548 MB / 0.7354 GB, free: 74.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.6689, allocations: 0.7056 MB / 0.7361 GB, free: 74.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.669, allocations: 4 kB / 0.7361 GB, free: 74.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/0.6734, allocations: 1.242 MB / 0.7373 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.6741, allocations: 115.8 kB / 0.7374 GB, free: 72.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.6846, allocations: 5.568 MB / 0.7429 GB, free: 67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.6862, allocations: 135.2 kB / 0.743 GB, free: 66.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.6864, allocations: 23.98 kB / 0.743 GB, free: 66.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6864, allocations: 4 kB / 0.743 GB, free: 66.84 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006518/0.693, allocations: 2.41 MB / 0.7454 GB, free: 64.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.693, allocations: 3.984 kB / 0.7454 GB, free: 64.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004202/0.6972, allocations: 1.243 MB / 0.7466 GB, free: 63.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.6978, allocations: 107.8 kB / 0.7467 GB, free: 63.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.7081, allocations: 5.563 MB / 0.7521 GB, free: 57.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7095, allocations: 111.4 kB / 0.7522 GB, free: 57.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.7097, allocations: 27.98 kB / 0.7523 GB, free: 57.22 MB / 474.7 MB 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.0007121/0.7104, allocations: 285.2 kB / 0.7525 GB, free: 56.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.7107, allocations: 86.88 kB / 0.7526 GB, free: 56.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/0.7166, allocations: 2.395 MB / 0.755 GB, free: 54.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.7166, allocations: 8 kB / 0.755 GB, free: 54.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.7167, allocations: 4 kB / 0.755 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7167, allocations: 3.984 kB / 0.755 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007822/0.7245, allocations: 3.69 MB / 0.7586 GB, free: 50.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7245, allocations: 0 / 0.7586 GB, free: 50.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.7251, allocations: 91.89 kB / 0.7587 GB, free: 50.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/0.7283, allocations: 1.066 MB / 0.7597 GB, free: 49.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.7285, allocations: 16 kB / 0.7597 GB, free: 49.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007592/0.7361, allocations: 4.294 MB / 0.7639 GB, free: 45.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7361, allocations: 0 / 0.7639 GB, free: 45.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/0.7433, allocations: 3.075 MB / 0.7669 GB, free: 41.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.7439, allocations: 183.8 kB / 0.7671 GB, free: 41.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.7442, allocations: 23.95 kB / 0.7671 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7453, allocations: 83.92 kB / 0.7672 GB, free: 41.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/0.7457, allocations: 120.3 kB / 0.7673 GB, free: 41.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.7457, allocations: 16.09 kB / 0.7673 GB, free: 41.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008536/0.7466, allocations: 0.5341 MB / 0.7679 GB, free: 40.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7466, allocations: 0 / 0.7679 GB, free: 40.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002005/0.7486, allocations: 487.3 kB / 0.7683 GB, free: 40.44 MB / 474.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 () * 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.007182/0.7558, allocations: 3.813 MB / 0.772 GB, free: 36.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007054/0.7629, allocations: 3.153 MB / 0.7751 GB, free: 33.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7629, allocations: 0 / 0.7751 GB, free: 33.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002682/0.7656, allocations: 1.264 MB / 0.7764 GB, free: 32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008509/0.7665, allocations: 63.3 kB / 0.7764 GB, free: 31.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.7712, allocations: 3.876 MB / 0.7802 GB, free: 27.97 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.7717, allocations: 0.9945 MB / 0.7812 GB, free: 26.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004276/0.7721, allocations: 68.69 kB / 0.7812 GB, free: 26.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.7725, allocations: 307.3 kB / 0.7815 GB, free: 26.58 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7725, allocations: 0 / 0.7815 GB, free: 26.58 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/0.8171, allocations: 25.79 MB / 0.8067 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.8173, allocations: 219.4 kB / 0.8069 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.381, allocations: 64 / 0.8069 GB, free: 0.6953 MB / 474.7 MB (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)