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.001039/0.001039, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.177/1.177, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.000843, allocations: 96.17 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4003/0.4003, allocations: 78.03 MB / 414.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.221e-05, allocations: 4 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.273, allocations: 69.33 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3802, allocations: 97.23 MB / 0.643 GB, free: 3.172 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.3804, allocations: 75.95 kB / 0.6431 GB, free: 3.098 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05339/0.4338, allocations: 20.54 MB / 0.6631 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4338, allocations: 0 / 0.6631 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.899e-05/0.4339, allocations: 12 kB / 0.6631 GB, free: 14.38 MB / 490.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.002794/0.4367, allocations: 1.184 MB / 0.6643 GB, free: 13.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4367, allocations: 11.97 kB / 0.6643 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.4369, allocations: 86.53 kB / 0.6644 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.4391, allocations: 386.4 kB / 0.6647 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.4399, allocations: 0.5541 MB / 0.6653 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4401, allocations: 154.7 kB / 0.6654 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.4402, allocations: 52.28 kB / 0.6655 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4412, allocations: 0.5687 MB / 0.666 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4413, allocations: 0 / 0.666 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.4413, allocations: 16 kB / 0.6661 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.4414, allocations: 12 kB / 0.6661 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.4423, allocations: 0.5506 MB / 0.6666 GB, free: 10.7 MB / 490.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.004271/0.4465, allocations: 2.604 MB / 0.6692 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.4595, allocations: 3.57 MB / 0.6726 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.4601, allocations: 364.6 kB / 0.673 GB, free: 4.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/0.4602, allocations: 4.562 kB / 0.673 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4602, allocations: 47.02 kB / 0.673 GB, free: 3.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.104e-06/0.4602, allocations: 3.938 kB / 0.673 GB, free: 3.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005463/0.4657, allocations: 1.87 MB / 0.6749 GB, free: 2.062 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4658, allocations: 59.97 kB / 0.6749 GB, free: 1.988 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.4667, allocations: 0.6485 MB / 0.6756 GB, free: 1.332 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.4668, allocations: 33.7 kB / 0.6756 GB, free: 1.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.467, allocations: 368.7 kB / 0.6759 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4672, allocations: 205 kB / 0.6761 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.4673, allocations: 8 kB / 0.6761 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4674, allocations: 338 kB / 0.6765 GB, free: 388 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.4678, allocations: 297.6 kB / 0.6767 GB, free: 92 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2475/0.7153, allocations: 374 kB / 0.6771 GB, free: 109.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.7161, allocations: 338.2 kB / 0.6774 GB, free: 109.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7161, allocations: 0.5312 kB / 0.6774 GB, free: 109.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006239/0.7223, allocations: 2.05 MB / 0.6794 GB, free: 109.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.7224, allocations: 6.469 kB / 0.6794 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7224, allocations: 3.5 kB / 0.6794 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/0.7262, allocations: 0.9794 MB / 0.6804 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.7267, allocations: 93.7 kB / 0.6805 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.7349, allocations: 5.397 MB / 0.6858 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.7359, allocations: 112.3 kB / 0.6859 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.736, allocations: 21.81 kB / 0.6859 GB, free: 107 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "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 () * 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.0001784/0.7362, allocations: 136 kB / 0.686 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.7363, allocations: 85.34 kB / 0.6861 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/0.7413, allocations: 1.957 MB / 0.688 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7413, allocations: 10.31 kB / 0.688 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7413, allocations: 3.469 kB / 0.688 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.7413, allocations: 3.141 kB / 0.688 GB, free: 106.7 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.005665/0.747, allocations: 3.031 MB / 0.691 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.747, allocations: 7.625 kB / 0.691 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.7474, allocations: 64.28 kB / 0.6911 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.7499, allocations: 0.8474 MB / 0.6919 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.75, allocations: 11.91 kB / 0.6919 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004776/0.7547, allocations: 3.361 MB / 0.6952 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7548, allocations: 1.406 kB / 0.6952 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.76, allocations: 2.427 MB / 0.6975 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.7603, allocations: 182.1 kB / 0.6977 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.7604, allocations: 18.52 kB / 0.6977 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.7611, allocations: 71.2 kB / 0.6978 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.7614, allocations: 115.7 kB / 0.6979 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.7615, allocations: 17.12 kB / 0.6979 GB, free: 102.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000526/0.762, allocations: 0.505 MB / 0.6984 GB, free: 102.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.762, allocations: 0 / 0.6984 GB, free: 102.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007843/0.7628, allocations: 290.8 kB / 0.6987 GB, free: 102 MB / 490.7 MB 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 () * 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.005448/0.7683, allocations: 3.01 MB / 0.7016 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.7713, allocations: 1.56 MB / 0.7032 GB, free: 99.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7713, allocations: 4.375 kB / 0.7032 GB, free: 99.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.7735, allocations: 1.069 MB / 0.7042 GB, free: 99.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.774, allocations: 62.09 kB / 0.7043 GB, free: 99.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.7761, allocations: 1.347 MB / 0.7056 GB, free: 98.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.7764, allocations: 0.9659 MB / 0.7065 GB, free: 97.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000212/0.7766, allocations: 50.67 kB / 0.7066 GB, free: 97.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.7769, allocations: 274.5 kB / 0.7068 GB, free: 96.88 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7769, allocations: 0 / 0.7068 GB, free: 96.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.8061, allocations: 19.56 MB / 0.7259 GB, free: 80.64 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001146/0.8063, allocations: 168.5 kB / 0.7261 GB, free: 80.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.097, allocations: 0 / 0.7261 GB, free: 80.41 MB / 490.7 MB (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)