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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008753, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 239 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5118/0.5118, allocations: 79.49 MB / 420.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003796, allocations: 15.98 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4249, allocations: 69.51 MB / 0.5571 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004312/0.4293, allocations: 4.488 MB / 0.5615 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.4327, allocations: 1.547 MB / 0.563 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005071/0.4332, allocations: 4.375 kB / 0.563 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.4336, allocations: 118.9 kB / 0.5631 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.435, allocations: 0.5154 MB / 0.5636 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.4358, allocations: 332.2 kB / 0.5639 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.4367, allocations: 0.9649 MB / 0.5649 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.437, allocations: 178.4 kB / 0.565 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.4374, allocations: 368 kB / 0.5654 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.4379, allocations: 495 kB / 0.5659 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.438, allocations: 48.16 kB / 0.5659 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.4384, allocations: 168.2 kB / 0.5661 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4385, allocations: 170.2 kB / 0.5662 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.4387, allocations: 163.6 kB / 0.5664 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.4394, allocations: 0.9444 MB / 0.5673 GB, free: 35.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4394, allocations: 4.031 kB / 0.5673 GB, free: 35.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4395, allocations: 0.5625 kB / 0.5673 GB, free: 35.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.4395, allocations: 3.938 kB / 0.5673 GB, free: 35.95 MB / 430.1 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.004312/0.4438, allocations: 1.633 MB / 0.5689 GB, free: 35.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4438, allocations: 8.25 kB / 0.5689 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.444, allocations: 95.3 kB / 0.569 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/0.4471, allocations: 0.5217 MB / 0.5695 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.4479, allocations: 0.6218 MB / 0.5701 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4481, allocations: 145.7 kB / 0.5703 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.4482, allocations: 52.44 kB / 0.5703 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.4495, allocations: 0.6912 MB / 0.571 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.4495, allocations: 1.469 kB / 0.571 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.4496, allocations: 22.16 kB / 0.571 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4496, allocations: 12.31 kB / 0.571 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4507, allocations: 0.67 MB / 0.5717 GB, free: 34.73 MB / 430.1 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.003943/0.4547, allocations: 2.676 MB / 0.5743 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.4655, allocations: 3.762 MB / 0.578 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009115/0.4665, allocations: 487.3 kB / 0.5784 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/0.4666, allocations: 5.906 kB / 0.5784 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4666, allocations: 37.94 kB / 0.5785 GB, free: 32.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.106e-06/0.4666, allocations: 4 kB / 0.5785 GB, free: 32.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01181/0.4784, allocations: 4.224 MB / 0.5826 GB, free: 31.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4785, allocations: 62.09 kB / 0.5827 GB, free: 31.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4797, allocations: 0.7601 MB / 0.5834 GB, free: 31.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4799, allocations: 36.17 kB / 0.5834 GB, free: 31.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.4801, allocations: 354.8 kB / 0.5838 GB, free: 31.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.4803, allocations: 208.3 kB / 0.584 GB, free: 31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.4804, allocations: 18.94 kB / 0.584 GB, free: 30.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4805, allocations: 397 kB / 0.5844 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4815, allocations: 0.5266 MB / 0.5849 GB, free: 30.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.4826, allocations: 0.6252 MB / 0.5855 GB, free: 30.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4836, allocations: 0.5774 MB / 0.5861 GB, free: 29.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4836, allocations: 1.188 kB / 0.5861 GB, free: 29.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007078/0.4907, allocations: 2.723 MB / 0.5887 GB, free: 29.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4908, allocations: 6.594 kB / 0.5887 GB, free: 29.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4908, allocations: 5.25 kB / 0.5887 GB, free: 29.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/0.4951, allocations: 1.218 MB / 0.5899 GB, free: 28.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.4961, allocations: 152.2 kB / 0.5901 GB, free: 28.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.5075, allocations: 6.339 MB / 0.5963 GB, free: 24.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.5089, allocations: 126.9 kB / 0.5964 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.5091, allocations: 32.62 kB / 0.5964 GB, free: 24.86 MB / 430.1 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.0005492/0.5097, allocations: 228.5 kB / 0.5966 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.5099, allocations: 77.94 kB / 0.5967 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006452/0.5164, allocations: 2.288 MB / 0.5989 GB, free: 24.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5164, allocations: 5.562 kB / 0.5989 GB, free: 24.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/0.5165, allocations: 5.594 kB / 0.5989 GB, free: 24.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.5165, allocations: 2.578 kB / 0.5989 GB, free: 24.01 MB / 430.1 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.008341/0.5248, allocations: 3.386 MB / 0.6023 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5249, allocations: 1.969 kB / 0.6023 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.5253, allocations: 65.77 kB / 0.6023 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/0.5289, allocations: 1.086 MB / 0.6034 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/0.529, allocations: 16.92 kB / 0.6034 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008188/0.5372, allocations: 4.131 MB / 0.6074 GB, free: 20.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5372, allocations: 4 kB / 0.6074 GB, free: 20.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007416/0.5446, allocations: 2.887 MB / 0.6103 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.5451, allocations: 188.2 kB / 0.6104 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5453, allocations: 13.19 kB / 0.6104 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.5462, allocations: 74.02 kB / 0.6105 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/0.5466, allocations: 114.9 kB / 0.6106 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.5467, allocations: 18.31 kB / 0.6106 GB, free: 19.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008877/0.5476, allocations: 0.5152 MB / 0.6111 GB, free: 18.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5476, allocations: 0 / 0.6111 GB, free: 18.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001301/0.5489, allocations: 300.8 kB / 0.6114 GB, free: 18.79 MB / 430.1 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.007137/0.556, allocations: 3.471 MB / 0.6148 GB, free: 16.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004254/0.5603, allocations: 1.994 MB / 0.6168 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5604, allocations: 8.062 kB / 0.6168 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.5629, allocations: 1.2 MB / 0.6179 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.5637, allocations: 56.34 kB / 0.618 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.5775, allocations: 7.182 MB / 0.625 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.578, allocations: 0.9421 MB / 0.6259 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.5784, allocations: 70.92 kB / 0.626 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.5788, allocations: 291.3 kB / 0.6263 GB, free: 4.965 MB / 430.1 MB Notification: Performance of SimCode: time 1.031e-06/0.5788, allocations: 0 / 0.6263 GB, free: 4.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.6151, allocations: 20.29 MB / 0.6461 GB, free: 1.039 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.6154, allocations: 205.5 kB / 0.6463 GB, free: 0.793 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.764, allocations: 3.938 kB / 0.6463 GB, free: 0.7891 MB / 446.1 MB (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) Environment - environmentSimulation: