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.009264/0.009264, allocations: 169.3 kB / 15.12 MB, free: 5.559 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.416/1.416, allocations: 223.2 MB / 239 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 96.11 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5449/0.5449, allocations: 78.59 MB / 419.9 MB, free: 36.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 12 kB / 499.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 69.36 MB / 0.5559 GB, free: 1.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004909/0.1623, allocations: 4.249 MB / 0.56 GB, free: 13.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.1659, allocations: 1.561 MB / 0.5615 GB, free: 11.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.1664, allocations: 7.938 kB / 0.5616 GB, free: 11.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.1669, allocations: 119.2 kB / 0.5617 GB, free: 11.79 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1685, allocations: 0.554 MB / 0.5622 GB, free: 11.24 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.1693, allocations: 342.4 kB / 0.5625 GB, free: 10.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1703, allocations: 0.6669 MB / 0.5632 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.1707, allocations: 185.1 kB / 0.5634 GB, free: 10.03 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.1712, allocations: 366.6 kB / 0.5637 GB, free: 9.672 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.1718, allocations: 490 kB / 0.5642 GB, free: 9.191 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.81e-05/0.1719, allocations: 44 kB / 0.5642 GB, free: 9.148 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.1723, allocations: 155.8 kB / 0.5644 GB, free: 8.996 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1725, allocations: 171.3 kB / 0.5645 GB, free: 8.828 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1726, allocations: 165.3 kB / 0.5647 GB, free: 8.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009558/0.1736, allocations: 0.9158 MB / 0.5656 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1736, allocations: 0 / 0.5656 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1736, allocations: 0 / 0.5656 GB, free: 7.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1736, allocations: 0 / 0.5656 GB, free: 7.742 MB / 442.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.005238/0.1789, allocations: 1.64 MB / 0.5672 GB, free: 6.051 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1789, allocations: 16.02 kB / 0.5672 GB, free: 6.035 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.1791, allocations: 86.53 kB / 0.5673 GB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.1824, allocations: 0.518 MB / 0.5678 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1835, allocations: 0.6125 MB / 0.5684 GB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.1837, allocations: 158 kB / 0.5685 GB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1839, allocations: 48 kB / 0.5686 GB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.1853, allocations: 0.6896 MB / 0.5693 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1854, allocations: 4 kB / 0.5693 GB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.1854, allocations: 20 kB / 0.5693 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1855, allocations: 12 kB / 0.5693 GB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1868, allocations: 0.6598 MB / 0.5699 GB, free: 3.152 MB / 442.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.00499/0.1918, allocations: 2.782 MB / 0.5727 GB, free: 236 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3474/0.5392, allocations: 3.756 MB / 0.5763 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.5394, allocations: 10.03 kB / 0.5763 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5395, allocations: 40.58 kB / 0.5764 GB, free: 44.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 3.667e-06/0.5395, allocations: 0 / 0.5764 GB, free: 44.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01384/0.5533, allocations: 4.215 MB / 0.5805 GB, free: 44.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.5534, allocations: 59.5 kB / 0.5805 GB, free: 44.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.5549, allocations: 0.7567 MB / 0.5813 GB, free: 43.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.555, allocations: 34.55 kB / 0.5813 GB, free: 43.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5554, allocations: 353.4 kB / 0.5817 GB, free: 43.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.5556, allocations: 215.9 kB / 0.5819 GB, free: 43.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.5557, allocations: 19.5 kB / 0.5819 GB, free: 43.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.5559, allocations: 394.7 kB / 0.5823 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.557, allocations: 0.5289 MB / 0.5828 GB, free: 43.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.5582, allocations: 0.6248 MB / 0.5834 GB, free: 43.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.5593, allocations: 0.5764 MB / 0.5839 GB, free: 43.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5594, allocations: 1.531 kB / 0.5839 GB, free: 43.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007853/0.5672, allocations: 2.723 MB / 0.5866 GB, free: 42.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.5673, allocations: 7.25 kB / 0.5866 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.5673, allocations: 1.281 kB / 0.5866 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004811/0.5721, allocations: 1.216 MB / 0.5878 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.5731, allocations: 156.7 kB / 0.5879 GB, free: 42.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.5851, allocations: 6.544 MB / 0.5943 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.5866, allocations: 130.7 kB / 0.5945 GB, free: 40.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.5867, allocations: 30.44 kB / 0.5945 GB, free: 40.09 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false 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 (94): * Single equations (assignments): 90 * 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.0004393/0.5871, allocations: 209.6 kB / 0.5947 GB, free: 39.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5873, allocations: 79.94 kB / 0.5948 GB, free: 39.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006298/0.5936, allocations: 2.299 MB / 0.597 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5936, allocations: 7.812 kB / 0.597 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5936, allocations: 4.312 kB / 0.597 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5936, allocations: 6.922 kB / 0.597 GB, free: 39.36 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.006781/0.6004, allocations: 3.39 MB / 0.6003 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6004, allocations: 0 / 0.6003 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.6008, allocations: 66.3 kB / 0.6004 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/0.6041, allocations: 1.084 MB / 0.6015 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.6041, allocations: 13.69 kB / 0.6015 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.6119, allocations: 4.303 MB / 0.6057 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6119, allocations: 0 / 0.6057 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006764/0.6187, allocations: 2.897 MB / 0.6085 GB, free: 34.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.6191, allocations: 180.3 kB / 0.6087 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6192, allocations: 14.89 kB / 0.6087 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.62, allocations: 71.95 kB / 0.6088 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.6203, allocations: 122.3 kB / 0.6089 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.6204, allocations: 17.66 kB / 0.6089 GB, free: 34.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006832/0.6211, allocations: 0.5099 MB / 0.6094 GB, free: 34.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6211, allocations: 2.062 kB / 0.6094 GB, free: 34.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001055/0.6221, allocations: 299.7 kB / 0.6097 GB, free: 34.11 MB / 442.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 () * 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.007916/0.6301, allocations: 3.467 MB / 0.6131 GB, free: 32.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004972/0.6351, allocations: 1.998 MB / 0.615 GB, free: 31.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6351, allocations: 0 / 0.615 GB, free: 31.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.638, allocations: 1.203 MB / 0.6162 GB, free: 31.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.6386, allocations: 59.28 kB / 0.6163 GB, free: 31.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.6426, allocations: 3.279 MB / 0.6195 GB, free: 28.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.6432, allocations: 0.9608 MB / 0.6204 GB, free: 27.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.6436, allocations: 67.98 kB / 0.6205 GB, free: 27.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.644, allocations: 288.7 kB / 0.6207 GB, free: 27.66 MB / 442.7 MB Notification: Performance of SimCode: time 9.61e-07/0.644, allocations: 0 / 0.6207 GB, free: 27.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.6832, allocations: 19.82 MB / 0.6401 GB, free: 18.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.6835, allocations: 201.3 kB / 0.6403 GB, free: 18.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.385, allocations: 0 / 0.6403 GB, free: 18.14 MB / 442.7 MB (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)