Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_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.008414/0.008414, allocations: 170.2 kB / 15.11 MB, free: 5.969 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.379/1.379, allocations: 223.2 MB / 239 MB, free: 1.82 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.0008302/0.0008302, allocations: 97.81 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5099/0.5099, allocations: 78.59 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 8 kB / 499.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4605, allocations: 69.34 MB / 0.5559 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.5875, allocations: 97.3 MB / 0.6509 GB, free: 9.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.5877, allocations: 75.97 kB / 0.6509 GB, free: 9.125 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05598/0.6437, allocations: 20.59 MB / 0.671 GB, free: 4.418 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.6438, allocations: 0 / 0.671 GB, free: 4.418 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.586e-05/0.6439, allocations: 16 kB / 0.6711 GB, free: 4.402 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.004281/0.6481, allocations: 1.386 MB / 0.6724 GB, free: 2.965 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.6482, allocations: 12.03 kB / 0.6724 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.6485, allocations: 98.45 kB / 0.6725 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.651, allocations: 374.5 kB / 0.6729 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6524, allocations: 0.5696 MB / 0.6734 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.6526, allocations: 150.1 kB / 0.6736 GB, free: 1.707 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.6528, allocations: 48.34 kB / 0.6736 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.6543, allocations: 0.6935 MB / 0.6743 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6544, allocations: 0 / 0.6743 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.6545, allocations: 20 kB / 0.6743 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.6545, allocations: 15.94 kB / 0.6743 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.6558, allocations: 0.6598 MB / 0.675 GB, free: 268 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.005098/0.661, allocations: 2.61 MB / 0.6775 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.6741, allocations: 3.757 MB / 0.6812 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.6744, allocations: 12.5 kB / 0.6812 GB, free: 9.727 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.6744, allocations: 39.11 kB / 0.6812 GB, free: 9.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 4.559e-06/0.6744, allocations: 3.938 kB / 0.6813 GB, free: 9.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01473/0.6892, allocations: 4.322 MB / 0.6855 GB, free: 5.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.6893, allocations: 63.97 kB / 0.6855 GB, free: 5.203 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.6907, allocations: 0.6523 MB / 0.6862 GB, free: 4.543 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.6908, allocations: 33.7 kB / 0.6862 GB, free: 4.504 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.6911, allocations: 364.7 kB / 0.6866 GB, free: 4.141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.6914, allocations: 212.9 kB / 0.6868 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.6915, allocations: 8 kB / 0.6868 GB, free: 3.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6916, allocations: 334 kB / 0.6871 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.6926, allocations: 417.1 kB / 0.6875 GB, free: 3.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6936, allocations: 497.8 kB / 0.688 GB, free: 2.672 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6946, allocations: 458.6 kB / 0.6884 GB, free: 2.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6947, allocations: 4 kB / 0.6884 GB, free: 2.219 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.007264/0.7019, allocations: 2.402 MB / 0.6907 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.702, allocations: 4 kB / 0.6907 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.702, allocations: 4 kB / 0.6907 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004545/0.7066, allocations: 1.206 MB / 0.6919 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.7071, allocations: 87.89 kB / 0.692 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.7198, allocations: 6.517 MB / 0.6984 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.721, allocations: 107.4 kB / 0.6985 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.7212, allocations: 23.98 kB / 0.6985 GB, free: 7.574 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.0005604/0.7218, allocations: 201.7 kB / 0.6987 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.722, allocations: 78.97 kB / 0.6988 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/0.7287, allocations: 2.293 MB / 0.701 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7288, allocations: 8 kB / 0.701 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.7288, allocations: 8 kB / 0.701 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.7288, allocations: 7.984 kB / 0.701 GB, free: 4.949 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.008184/0.737, allocations: 3.388 MB / 0.7043 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7371, allocations: 0 / 0.7043 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.7376, allocations: 63.91 kB / 0.7044 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/0.741, allocations: 1.07 MB / 0.7054 GB, free: 336 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.7412, allocations: 15.94 kB / 0.7055 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008605/0.7498, allocations: 4.296 MB / 0.7097 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7498, allocations: 0 / 0.7097 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007397/0.7572, allocations: 2.889 MB / 0.7125 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.7577, allocations: 184.1 kB / 0.7126 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7578, allocations: 8 kB / 0.7127 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.7585, allocations: 75.89 kB / 0.7127 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.7589, allocations: 112.4 kB / 0.7128 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.759, allocations: 19.98 kB / 0.7129 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007528/0.7597, allocations: 0.5146 MB / 0.7134 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7597, allocations: 0 / 0.7134 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009552/0.7607, allocations: 291.6 kB / 0.7136 GB, free: 7.758 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.007823/0.7685, allocations: 3.471 MB / 0.717 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004339/0.7729, allocations: 1.805 MB / 0.7188 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7729, allocations: 4 kB / 0.7188 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.7758, allocations: 1.209 MB / 0.72 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.7764, allocations: 58.92 kB / 0.72 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.7912, allocations: 7.944 MB / 0.7278 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.7919, allocations: 0.9729 MB / 0.7287 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.7922, allocations: 48.56 kB / 0.7288 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.7926, allocations: 279.3 kB / 0.729 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/0.7926, allocations: 0 / 0.729 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.8358, allocations: 19.68 MB / 0.7483 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.8363, allocations: 191.4 kB / 0.7484 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.458, allocations: 0 / 0.7484 GB, free: 3.871 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)