Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",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.005826/0.005826, allocations: 169.5 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.368/1.368, allocations: 223.2 MB / 239 MB, free: 1.812 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.0008715/0.0008715, allocations: 98.36 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5127/0.5127, allocations: 78.52 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 8 kB / 499.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 69.35 MB / 0.5558 GB, free: 38.47 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.5176, allocations: 97.29 MB / 0.6508 GB, free: 9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.5178, allocations: 75.97 kB / 0.6509 GB, free: 8.926 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05511/0.5729, allocations: 20.59 MB / 0.671 GB, free: 4.211 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.573, allocations: 4 kB / 0.671 GB, free: 4.207 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.765e-05/0.573, allocations: 12 kB / 0.671 GB, free: 4.195 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003431/0.5764, allocations: 1.386 MB / 0.6724 GB, free: 2.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5765, allocations: 12.03 kB / 0.6724 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.5766, allocations: 90.52 kB / 0.6725 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.5788, allocations: 382.5 kB / 0.6728 GB, free: 2.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/0.5798, allocations: 0.5579 MB / 0.6734 GB, free: 1.676 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.5799, allocations: 150.1 kB / 0.6735 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.58, allocations: 48.34 kB / 0.6736 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.5814, allocations: 0.6935 MB / 0.6742 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5814, allocations: 0 / 0.6742 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.5815, allocations: 23.94 kB / 0.6743 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5815, allocations: 12 kB / 0.6743 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5827, allocations: 0.6637 MB / 0.6749 GB, free: 64 kB / 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.004371/0.5871, allocations: 2.606 MB / 0.6775 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.6, allocations: 3.769 MB / 0.6811 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.6002, allocations: 8.562 kB / 0.6811 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.6002, allocations: 39.06 kB / 0.6812 GB, free: 9.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 3.076e-06/0.6002, allocations: 0 / 0.6812 GB, free: 9.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01364/0.6139, allocations: 4.326 MB / 0.6854 GB, free: 5.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.614, allocations: 63.95 kB / 0.6855 GB, free: 5.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6151, allocations: 0.6524 MB / 0.6861 GB, free: 4.344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.6151, allocations: 33.7 kB / 0.6861 GB, free: 4.305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.6154, allocations: 372.6 kB / 0.6865 GB, free: 3.934 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.6157, allocations: 209 kB / 0.6867 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.6157, allocations: 8 kB / 0.6867 GB, free: 3.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6158, allocations: 334 kB / 0.687 GB, free: 3.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/0.6166, allocations: 417.1 kB / 0.6874 GB, free: 2.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.6175, allocations: 0.4939 MB / 0.6879 GB, free: 2.461 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.6184, allocations: 450.6 kB / 0.6883 GB, free: 2.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6184, allocations: 4 kB / 0.6883 GB, free: 2.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006715/0.6251, allocations: 2.398 MB / 0.6907 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6251, allocations: 4 kB / 0.6907 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6251, allocations: 4 kB / 0.6907 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/0.6294, allocations: 1.211 MB / 0.6919 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.6299, allocations: 83.89 kB / 0.6919 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.6413, allocations: 6.526 MB / 0.6983 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.6425, allocations: 107.4 kB / 0.6984 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.6426, allocations: 20 kB / 0.6984 GB, free: 7.367 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.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (55): * Single equations (assignments): 51 * 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: 2 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004577/0.643, allocations: 213.9 kB / 0.6986 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.6432, allocations: 86.97 kB / 0.6987 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006527/0.6497, allocations: 2.281 MB / 0.701 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.6498, allocations: 8 kB / 0.701 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6498, allocations: 7.984 kB / 0.701 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.6498, allocations: 4 kB / 0.701 GB, free: 4.742 MB / 0.4948 GB 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 postOpt removeSimpleEquations (simulation): time 0.007671/0.6575, allocations: 3.38 MB / 0.7043 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6575, allocations: 0 / 0.7043 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.658, allocations: 63.91 kB / 0.7043 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003321/0.6613, allocations: 1.081 MB / 0.7054 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.6614, allocations: 12 kB / 0.7054 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00802/0.6694, allocations: 4.292 MB / 0.7096 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6695, allocations: 0 / 0.7096 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007083/0.6765, allocations: 2.889 MB / 0.7124 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.6769, allocations: 180.1 kB / 0.7126 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.677, allocations: 12 kB / 0.7126 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/0.6778, allocations: 71.89 kB / 0.7127 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.6781, allocations: 120.5 kB / 0.7128 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.6782, allocations: 23.94 kB / 0.7128 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006606/0.6788, allocations: 0.5147 MB / 0.7133 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6789, allocations: 0 / 0.7133 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008703/0.6797, allocations: 287.6 kB / 0.7136 GB, free: 7.551 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (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 (40): * Single equations (assignments): 37 * 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.007491/0.6872, allocations: 3.477 MB / 0.717 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004228/0.6915, allocations: 1.801 MB / 0.7187 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6915, allocations: 0 / 0.7187 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.6944, allocations: 1.213 MB / 0.7199 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.6952, allocations: 54.88 kB / 0.72 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.7103, allocations: 7.948 MB / 0.7277 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.711, allocations: 0.9651 MB / 0.7287 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.7113, allocations: 52.53 kB / 0.7287 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.7117, allocations: 279.3 kB / 0.729 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/0.7118, allocations: 0 / 0.729 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.7475, allocations: 19.67 MB / 0.7482 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.7477, allocations: 182 kB / 0.7484 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.221, allocations: 0 / 0.7484 GB, free: 3.676 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)