Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_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.008528/0.008528, allocations: 171.3 kB / 15.11 MB, free: 5.973 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 60 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.001132/0.001132, allocations: 100.8 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5053/0.5053, allocations: 78.53 MB / 419.8 MB, free: 36.3 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 12 kB / 499.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 69.36 MB / 0.5558 GB, free: 1.664 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5844, allocations: 98.97 MB / 0.6525 GB, free: 3.148 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5847, allocations: 86.25 kB / 0.6525 GB, free: 3.105 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05939/0.6441, allocations: 22.26 MB / 0.6743 GB, free: 13.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6441, allocations: 0 / 0.6743 GB, free: 13.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.632e-05/0.6441, allocations: 16 kB / 0.6743 GB, free: 13.31 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.003791/0.6479, allocations: 1.48 MB / 0.6757 GB, free: 11.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.648, allocations: 8.031 kB / 0.6758 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.6482, allocations: 94.52 kB / 0.6758 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.6504, allocations: 393.4 kB / 0.6762 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6514, allocations: 0.6096 MB / 0.6768 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.6516, allocations: 158.7 kB / 0.677 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6518, allocations: 55.95 kB / 0.677 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.6533, allocations: 0.8161 MB / 0.6778 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6534, allocations: 0 / 0.6778 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.6535, allocations: 24 kB / 0.6778 GB, free: 9.559 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.6535, allocations: 12 kB / 0.6779 GB, free: 9.547 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.6549, allocations: 0.7235 MB / 0.6786 GB, free: 8.82 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.005194/0.6601, allocations: 2.88 MB / 0.6814 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.6735, allocations: 3.916 MB / 0.6852 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.6737, allocations: 16.5 kB / 0.6852 GB, free: 1.836 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6738, allocations: 39.12 kB / 0.6852 GB, free: 1.789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 4.278e-06/0.6738, allocations: 0 / 0.6852 GB, free: 1.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01161/0.6854, allocations: 3.889 MB / 0.689 GB, free: 13.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.6855, allocations: 81.67 kB / 0.6891 GB, free: 13.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.6866, allocations: 0.6722 MB / 0.6898 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.6867, allocations: 37.69 kB / 0.6898 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.687, allocations: 380.6 kB / 0.6902 GB, free: 12.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.6872, allocations: 236.6 kB / 0.6904 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.6873, allocations: 16 kB / 0.6904 GB, free: 12.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6874, allocations: 338 kB / 0.6907 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009012/0.6883, allocations: 469.8 kB / 0.6912 GB, free: 11.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/0.6893, allocations: 0.5529 MB / 0.6917 GB, free: 11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.6903, allocations: 0.5036 MB / 0.6922 GB, free: 10.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6903, allocations: 0 / 0.6922 GB, free: 10.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007173/0.6975, allocations: 2.548 MB / 0.6947 GB, free: 7.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.6978, allocations: 0.6985 MB / 0.6954 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6978, allocations: 4 kB / 0.6954 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/0.7025, allocations: 1.251 MB / 0.6966 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.7031, allocations: 111.8 kB / 0.6967 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.7153, allocations: 5.58 MB / 0.7022 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.7167, allocations: 119.5 kB / 0.7023 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.7168, allocations: 24 kB / 0.7023 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.7168, allocations: 4 kB / 0.7023 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007213/0.724, allocations: 2.414 MB / 0.7047 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.724, allocations: 0 / 0.7047 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004593/0.7286, allocations: 1.246 MB / 0.7059 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.7294, allocations: 106.3 kB / 0.706 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.7413, allocations: 5.574 MB / 0.7114 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.7427, allocations: 108 kB / 0.7115 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.7428, allocations: 31.95 kB / 0.7116 GB, free: 6.355 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.0006086/0.7434, allocations: 283 kB / 0.7118 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.7436, allocations: 86.97 kB / 0.7119 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006631/0.7502, allocations: 2.395 MB / 0.7143 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.7502, allocations: 12.16 kB / 0.7143 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.7503, allocations: 11.95 kB / 0.7143 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.7503, allocations: 3.984 kB / 0.7143 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008541/0.7588, allocations: 3.678 MB / 0.7179 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.7589, allocations: 4.062 kB / 0.7179 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.7595, allocations: 79.91 kB / 0.718 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003512/0.763, allocations: 1.082 MB / 0.719 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.7631, allocations: 12 kB / 0.719 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008259/0.7714, allocations: 4.28 MB / 0.7232 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7714, allocations: 4 kB / 0.7232 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/0.7793, allocations: 3.085 MB / 0.7262 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.7797, allocations: 183.9 kB / 0.7264 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.7799, allocations: 12 kB / 0.7264 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008028/0.7807, allocations: 83.94 kB / 0.7265 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.781, allocations: 128.3 kB / 0.7266 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.7811, allocations: 18 kB / 0.7266 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006984/0.7818, allocations: 0.5264 MB / 0.7271 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7818, allocations: 0 / 0.7271 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001345/0.7832, allocations: 491.2 kB / 0.7276 GB, free: 5.59 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.007962/0.7911, allocations: 3.814 MB / 0.7313 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00766/0.7988, allocations: 3.15 MB / 0.7344 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7989, allocations: 0 / 0.7344 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/0.8019, allocations: 1.277 MB / 0.7357 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.8026, allocations: 57.45 kB / 0.7357 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.8076, allocations: 3.87 MB / 0.7395 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.8082, allocations: 0.9984 MB / 0.7405 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003882/0.8086, allocations: 68.69 kB / 0.7405 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.8091, allocations: 301.7 kB / 0.7408 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.8091, allocations: 0 / 0.7408 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.8554, allocations: 25.77 MB / 0.766 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.8556, allocations: 199.2 kB / 0.7662 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.586, allocations: 0 / 0.7662 GB, free: 13.96 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)