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.001105/0.001105, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 97.84 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4394/0.4394, allocations: 78.95 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.088e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.5014, allocations: 98.91 MB / 0.6391 GB, free: 15.08 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.5017, allocations: 76.8 kB / 0.6392 GB, free: 15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05832/0.56, allocations: 22.14 MB / 0.6608 GB, free: 8.906 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5601, allocations: 0 / 0.6608 GB, free: 8.906 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.877e-05/0.5601, allocations: 12 kB / 0.6608 GB, free: 8.895 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.003285/0.5634, allocations: 1.269 MB / 0.6621 GB, free: 7.578 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5635, allocations: 16.02 kB / 0.6621 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.5657, allocations: 390.4 kB / 0.6625 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5668, allocations: 0.5943 MB / 0.663 GB, free: 6.547 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.567, allocations: 134.4 kB / 0.6632 GB, free: 6.398 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.5672, allocations: 35.91 kB / 0.6632 GB, free: 6.363 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009825/0.5681, allocations: 0.5575 MB / 0.6637 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.5692, allocations: 0.6094 MB / 0.6643 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5692, allocations: 5.391 kB / 0.6643 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.5693, allocations: 0 / 0.6643 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.5693, allocations: 16 kB / 0.6644 GB, free: 5.16 MB / 474.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.004894/0.5742, allocations: 2.77 MB / 0.6671 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.5875, allocations: 3.675 MB / 0.6707 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.5881, allocations: 382.5 kB / 0.671 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.5882, allocations: 8.516 kB / 0.671 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5883, allocations: 43.12 kB / 0.6711 GB, free: 14.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.295e-06/0.5883, allocations: 0 / 0.6711 GB, free: 14.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005495/0.5938, allocations: 1.894 MB / 0.6729 GB, free: 12.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.5939, allocations: 85.66 kB / 0.673 GB, free: 12.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/0.5948, allocations: 0.6175 MB / 0.6736 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.5949, allocations: 25.7 kB / 0.6736 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.5952, allocations: 384.6 kB / 0.674 GB, free: 11.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.5954, allocations: 228.5 kB / 0.6742 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.5955, allocations: 0.5625 kB / 0.6742 GB, free: 10.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5956, allocations: 330 kB / 0.6745 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.5961, allocations: 321.6 kB / 0.6748 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.5967, allocations: 426.7 kB / 0.6752 GB, free: 9.758 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.5973, allocations: 361.3 kB / 0.6756 GB, free: 9.406 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5973, allocations: 4.688 kB / 0.6756 GB, free: 9.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006114/0.6034, allocations: 2.11 MB / 0.6777 GB, free: 7.273 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.6037, allocations: 0.7074 MB / 0.6783 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6037, allocations: 4 kB / 0.6783 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00397/0.6077, allocations: 1.008 MB / 0.6793 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.6082, allocations: 110 kB / 0.6794 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.6165, allocations: 4.295 MB / 0.6836 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6175, allocations: 115.3 kB / 0.6837 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.6176, allocations: 24.84 kB / 0.6838 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.6177, allocations: 4 kB / 0.6838 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005928/0.6236, allocations: 1.992 MB / 0.6857 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.6236, allocations: 4 kB / 0.6857 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/0.6275, allocations: 1.012 MB / 0.6867 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.6281, allocations: 94.16 kB / 0.6868 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.636, allocations: 4.303 MB / 0.691 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/0.637, allocations: 95.47 kB / 0.6911 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.6371, allocations: 27.98 kB / 0.6911 GB, free: 9.172 MB / 0.4948 GB 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.00029/0.6374, allocations: 123.4 kB / 0.6912 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005695/0.6431, allocations: 1.898 MB / 0.6931 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.6434, allocations: 86.91 kB / 0.6932 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.6488, allocations: 1.958 MB / 0.6951 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6488, allocations: 8 kB / 0.6951 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.6489, allocations: 14.58 kB / 0.6951 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6489, allocations: 7.969 kB / 0.6951 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.656, allocations: 3.171 MB / 0.6982 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6561, allocations: 0 / 0.6982 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.6566, allocations: 95.84 kB / 0.6983 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/0.6594, allocations: 0.8396 MB / 0.6991 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.6594, allocations: 4 kB / 0.6991 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/0.6651, allocations: 3.274 MB / 0.7023 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6651, allocations: 3.938 kB / 0.7023 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006386/0.6715, allocations: 2.522 MB / 0.7048 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.672, allocations: 187.9 kB / 0.705 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.6723, allocations: 4 kB / 0.705 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/0.6732, allocations: 74.88 kB / 0.705 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/0.6736, allocations: 121.2 kB / 0.7052 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.6736, allocations: 19.94 kB / 0.7052 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007698/0.6744, allocations: 487.2 kB / 0.7056 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6744, allocations: 0 / 0.7056 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00169/0.6761, allocations: 447.2 kB / 0.7061 GB, free: 9.555 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 () * 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.006712/0.6829, allocations: 3.243 MB / 0.7092 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006756/0.6896, allocations: 2.71 MB / 0.7119 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.6897, allocations: 0 / 0.7119 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/0.6924, allocations: 1.093 MB / 0.7129 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009329/0.6934, allocations: 47.3 kB / 0.713 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.6977, allocations: 1.589 MB / 0.7145 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.6984, allocations: 0.9878 MB / 0.7155 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006882/0.6992, allocations: 118.9 kB / 0.7156 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/0.6996, allocations: 304 kB / 0.7159 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.6996, allocations: 0 / 0.7159 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/0.754, allocations: 25.23 MB / 0.7406 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.7543, allocations: 128.5 kB / 0.7407 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.671, allocations: 4 kB / 0.7407 GB, free: 6.004 MB / 0.5417 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)