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.001309/0.001309, allocations: 172.5 kB / 7.646 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.245/1.245, allocations: 221.5 MB / 229.6 MB, free: 3.102 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.0008962/0.0008962, allocations: 94.59 kB / 280.5 MB, free: 1.121 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4238/0.4238, allocations: 78.06 MB / 409.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.376e-05, allocations: 4 kB / 485 MB, free: 3.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2924, allocations: 69.36 MB / 0.5414 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.3979, allocations: 96.55 MB / 0.6357 GB, free: 7.988 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3982, allocations: 75.95 kB / 0.6357 GB, free: 7.914 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05297/0.4512, allocations: 20.29 MB / 0.6555 GB, free: 3.465 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4512, allocations: 0 / 0.6555 GB, free: 3.465 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.4513, allocations: 12 kB / 0.6556 GB, free: 3.453 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.002639/0.4539, allocations: 1.184 MB / 0.6567 GB, free: 2.219 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.454, allocations: 8.031 kB / 0.6567 GB, free: 2.211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.4562, allocations: 378.5 kB / 0.6571 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008291/0.457, allocations: 0.5619 MB / 0.6576 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.4572, allocations: 127.1 kB / 0.6578 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.4573, allocations: 28 kB / 0.6578 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000862/0.4582, allocations: 0.5145 MB / 0.6583 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008614/0.459, allocations: 0.5076 MB / 0.6588 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4591, allocations: 0 / 0.6588 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.4591, allocations: 0 / 0.6588 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4591, allocations: 15.94 kB / 0.6588 GB, free: 24 kB / 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.004264/0.4634, allocations: 2.518 MB / 0.6613 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.4761, allocations: 3.542 MB / 0.6647 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.4768, allocations: 348.1 kB / 0.665 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.4769, allocations: 8.562 kB / 0.6651 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4769, allocations: 39.12 kB / 0.6651 GB, free: 9.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 3.657e-06/0.4769, allocations: 7.922 kB / 0.6651 GB, free: 9.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.00535/0.4822, allocations: 1.835 MB / 0.6669 GB, free: 7.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.4823, allocations: 59.97 kB / 0.6669 GB, free: 7.488 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.4831, allocations: 0.6016 MB / 0.6675 GB, free: 6.883 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.4832, allocations: 25.7 kB / 0.6676 GB, free: 6.852 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4835, allocations: 368.6 kB / 0.6679 GB, free: 6.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.4837, allocations: 201 kB / 0.6681 GB, free: 6.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.4837, allocations: 0 / 0.6681 GB, free: 6.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.4838, allocations: 322 kB / 0.6684 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.4843, allocations: 293.5 kB / 0.6687 GB, free: 5.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.4848, allocations: 365.7 kB / 0.669 GB, free: 5.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.4853, allocations: 322.6 kB / 0.6693 GB, free: 4.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4853, allocations: 4 kB / 0.6693 GB, free: 4.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005692/0.491, allocations: 1.992 MB / 0.6713 GB, free: 2.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.491, allocations: 11.94 kB / 0.6713 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.491, allocations: 3.938 kB / 0.6713 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/0.4946, allocations: 0.9688 MB / 0.6723 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.4951, allocations: 83.91 kB / 0.6723 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2732/0.7683, allocations: 5.206 MB / 0.6774 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.7693, allocations: 101.6 kB / 0.6775 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.7694, allocations: 20.86 kB / 0.6775 GB, free: 108.8 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.000258/0.7697, allocations: 118.2 kB / 0.6776 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005672/0.7754, allocations: 1.83 MB / 0.6794 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.7756, allocations: 84.8 kB / 0.6795 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/0.7812, allocations: 1.888 MB / 0.6814 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.7812, allocations: 5.594 kB / 0.6814 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.7813, allocations: 5.406 kB / 0.6814 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.7813, allocations: 4.625 kB / 0.6814 GB, free: 108.5 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.00628/0.7876, allocations: 2.922 MB / 0.6842 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7876, allocations: 4.953 kB / 0.6842 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.788, allocations: 56.84 kB / 0.6843 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/0.7906, allocations: 0.851 MB / 0.6851 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.7907, allocations: 4.844 kB / 0.6851 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/0.7958, allocations: 3.273 MB / 0.6883 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7959, allocations: 4 kB / 0.6883 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/0.8013, allocations: 2.378 MB / 0.6906 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.8016, allocations: 182.7 kB / 0.6908 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.8017, allocations: 0 / 0.6908 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.8025, allocations: 62.78 kB / 0.6909 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.8027, allocations: 121.7 kB / 0.691 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.8028, allocations: 15.38 kB / 0.691 GB, free: 105.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000528/0.8033, allocations: 473.2 kB / 0.6915 GB, free: 105.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8033, allocations: 3.188 kB / 0.6915 GB, free: 105.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008411/0.8042, allocations: 256.4 kB / 0.6917 GB, free: 105.1 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.005429/0.8096, allocations: 2.954 MB / 0.6946 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.8126, allocations: 1.514 MB / 0.6961 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8127, allocations: 3.438 kB / 0.6961 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.8149, allocations: 1.054 MB / 0.6971 GB, free: 102.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.8153, allocations: 50.89 kB / 0.6972 GB, free: 102.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.8176, allocations: 1.293 MB / 0.6984 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.818, allocations: 0.9581 MB / 0.6994 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.8182, allocations: 51.73 kB / 0.6994 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.8186, allocations: 276.1 kB / 0.6997 GB, free: 100.8 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.8186, allocations: 0 / 0.6997 GB, free: 100.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.8514, allocations: 18.02 MB / 0.7173 GB, free: 90.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001138/0.8516, allocations: 110.1 kB / 0.7174 GB, free: 90.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.198, allocations: 0 / 0.7174 GB, free: 90.12 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)