Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_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.01099/0.01099, allocations: 170.3 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.448/1.448, allocations: 223.2 MB / 239 MB, free: 1.797 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.001157/0.001157, allocations: 99.67 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4902/0.4902, allocations: 79.45 MB / 420.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000527/0.0005273, allocations: 8 kB / 0.4891 GB, free: 1.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4666, allocations: 69.5 MB / 0.557 GB, free: 39.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.6061, allocations: 97.97 MB / 0.6527 GB, free: 7.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.6063, allocations: 73.75 kB / 0.6527 GB, free: 7.512 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05641/0.6628, allocations: 20.8 MB / 0.673 GB, free: 2.602 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6628, allocations: 0 / 0.673 GB, free: 2.602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.6629, allocations: 16 kB / 0.6731 GB, free: 2.586 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.003417/0.6663, allocations: 1.394 MB / 0.6744 GB, free: 1.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6663, allocations: 8.031 kB / 0.6744 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.6665, allocations: 86.53 kB / 0.6745 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.6687, allocations: 386.5 kB / 0.6749 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.6696, allocations: 0.5618 MB / 0.6754 GB, free: 60 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.6698, allocations: 150.4 kB / 0.6756 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6699, allocations: 51.95 kB / 0.6756 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6713, allocations: 0.6857 MB / 0.6763 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6713, allocations: 0 / 0.6763 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.6714, allocations: 19.94 kB / 0.6763 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.6714, allocations: 12 kB / 0.6763 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.6727, allocations: 0.6676 MB / 0.677 GB, free: 14.45 MB / 490.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.00454/0.6773, allocations: 2.602 MB / 0.6795 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.6909, allocations: 3.776 MB / 0.6832 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.6911, allocations: 8.547 kB / 0.6832 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.6911, allocations: 51.02 kB / 0.6833 GB, free: 7.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.385e-06/0.6912, allocations: 0 / 0.6833 GB, free: 7.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01406/0.7052, allocations: 4.318 MB / 0.6875 GB, free: 3.461 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.7053, allocations: 55.97 kB / 0.6875 GB, free: 3.395 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.7064, allocations: 0.6523 MB / 0.6882 GB, free: 2.734 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.7065, allocations: 41.64 kB / 0.6882 GB, free: 2.688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.7068, allocations: 368.7 kB / 0.6886 GB, free: 2.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.707, allocations: 205 kB / 0.6888 GB, free: 2.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.707, allocations: 12 kB / 0.6888 GB, free: 2.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7072, allocations: 334 kB / 0.6891 GB, free: 1.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008608/0.708, allocations: 421.1 kB / 0.6895 GB, free: 1.363 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.7089, allocations: 0.4939 MB / 0.69 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.7097, allocations: 446.6 kB / 0.6904 GB, free: 416 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7098, allocations: 0 / 0.6904 GB, free: 416 kB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006989/0.7168, allocations: 2.402 MB / 0.6927 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.7168, allocations: 8 kB / 0.6927 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7168, allocations: 7.938 kB / 0.6928 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004575/0.7214, allocations: 1.203 MB / 0.6939 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.722, allocations: 87.89 kB / 0.694 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.7345, allocations: 6.519 MB / 0.7004 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.7361, allocations: 107.4 kB / 0.7005 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.7362, allocations: 27.98 kB / 0.7005 GB, free: 5.754 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.0006397/0.7368, allocations: 213.6 kB / 0.7007 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.737, allocations: 78.97 kB / 0.7008 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/0.7435, allocations: 2.293 MB / 0.703 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.7436, allocations: 8 kB / 0.703 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7436, allocations: 4 kB / 0.703 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.7436, allocations: 0 / 0.703 GB, free: 3.129 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.007764/0.7514, allocations: 3.384 MB / 0.7063 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7514, allocations: 0 / 0.7063 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.7519, allocations: 67.84 kB / 0.7064 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/0.7553, allocations: 1.082 MB / 0.7075 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.7554, allocations: 12 kB / 0.7075 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008383/0.7638, allocations: 4.287 MB / 0.7117 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7638, allocations: 0 / 0.7117 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007329/0.7712, allocations: 2.897 MB / 0.7145 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.7716, allocations: 172.1 kB / 0.7147 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7717, allocations: 15.95 kB / 0.7147 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/0.7725, allocations: 75.94 kB / 0.7147 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.7728, allocations: 112.3 kB / 0.7149 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.7729, allocations: 24.06 kB / 0.7149 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000687/0.7736, allocations: 0.5147 MB / 0.7154 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7736, allocations: 0 / 0.7154 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008729/0.7745, allocations: 295.6 kB / 0.7157 GB, free: 5.926 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.007695/0.7822, allocations: 3.473 MB / 0.7191 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004225/0.7864, allocations: 1.801 MB / 0.7208 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7864, allocations: 448 / 0.7208 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.7893, allocations: 1.204 MB / 0.722 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.7899, allocations: 58.88 kB / 0.722 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.8041, allocations: 7.954 MB / 0.7298 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.8046, allocations: 0.9573 MB / 0.7307 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002809/0.8049, allocations: 52.55 kB / 0.7308 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.8053, allocations: 275.3 kB / 0.7311 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/0.8053, allocations: 4 kB / 0.7311 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.8436, allocations: 19.69 MB / 0.7503 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.8438, allocations: 192.9 kB / 0.7505 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.48, allocations: 3.938 kB / 0.7505 GB, free: 2.02 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)