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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008339/0.0008341, allocations: 86.88 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 5.461 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.001273/0.001273, allocations: 188.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4693/0.4693, allocations: 78.55 MB / 419.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.000438, allocations: 16 kB / 499.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1467, allocations: 69.36 MB / 0.5559 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2458/0.3926, allocations: 4.472 MB / 0.5603 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3954, allocations: 1.54 MB / 0.5618 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.3958, allocations: 7.625 kB / 0.5618 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.3961, allocations: 119.1 kB / 0.5619 GB, free: 37.24 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001221/0.3974, allocations: 0.5154 MB / 0.5624 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.398, allocations: 329.6 kB / 0.5627 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008619/0.3989, allocations: 0.9666 MB / 0.5637 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.3992, allocations: 176.2 kB / 0.5638 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.3996, allocations: 367.7 kB / 0.5642 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.4001, allocations: 494.9 kB / 0.5646 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.4002, allocations: 48.25 kB / 0.5647 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.4005, allocations: 167.6 kB / 0.5648 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.4007, allocations: 168.7 kB / 0.565 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.4008, allocations: 163.6 kB / 0.5652 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.4015, allocations: 0.9521 MB / 0.5661 GB, free: 36.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4015, allocations: 1.031 kB / 0.5661 GB, free: 36.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4015, allocations: 3.031 kB / 0.5661 GB, free: 36.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.4015, allocations: 0 / 0.5661 GB, free: 36.43 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.004197/0.4057, allocations: 1.629 MB / 0.5677 GB, free: 35.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4058, allocations: 8.906 kB / 0.5677 GB, free: 35.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.4059, allocations: 90.03 kB / 0.5678 GB, free: 35.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.4089, allocations: 0.5161 MB / 0.5683 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.4098, allocations: 0.6207 MB / 0.5689 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.4099, allocations: 143.2 kB / 0.569 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.4101, allocations: 54.56 kB / 0.5691 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4113, allocations: 0.693 MB / 0.5698 GB, free: 35.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4113, allocations: 3.938 kB / 0.5698 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.4113, allocations: 25.16 kB / 0.5698 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.4114, allocations: 10.59 kB / 0.5698 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.4124, allocations: 0.6621 MB / 0.5704 GB, free: 35.23 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.003913/0.4164, allocations: 2.679 MB / 0.5731 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.4273, allocations: 3.767 MB / 0.5767 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.4283, allocations: 478.6 kB / 0.5772 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.853e-05/0.4284, allocations: 22.03 kB / 0.5772 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4285, allocations: 38.12 kB / 0.5773 GB, free: 33.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.506e-06/0.4285, allocations: 0.5625 kB / 0.5773 GB, free: 33.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01154/0.44, allocations: 4.223 MB / 0.5814 GB, free: 32.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.4401, allocations: 62.5 kB / 0.5814 GB, free: 32.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4415, allocations: 0.7513 MB / 0.5822 GB, free: 32.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4416, allocations: 37.11 kB / 0.5822 GB, free: 32.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4419, allocations: 352.7 kB / 0.5825 GB, free: 32.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.4422, allocations: 212.7 kB / 0.5827 GB, free: 31.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.4423, allocations: 25.62 kB / 0.5828 GB, free: 31.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4424, allocations: 393.1 kB / 0.5831 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.4435, allocations: 0.5304 MB / 0.5837 GB, free: 31.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4447, allocations: 0.6251 MB / 0.5843 GB, free: 31.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.4458, allocations: 0.5734 MB / 0.5848 GB, free: 30.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4459, allocations: 5.031 kB / 0.5848 GB, free: 30.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00726/0.4531, allocations: 2.725 MB / 0.5875 GB, free: 30.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4532, allocations: 6.312 kB / 0.5875 GB, free: 30.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4532, allocations: 2.719 kB / 0.5875 GB, free: 30.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/0.4574, allocations: 1.216 MB / 0.5887 GB, free: 29.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.4583, allocations: 155.8 kB / 0.5888 GB, free: 29.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.4692, allocations: 6.328 MB / 0.595 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4706, allocations: 126.7 kB / 0.5951 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.4708, allocations: 30 kB / 0.5952 GB, free: 25.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.000562/0.4714, allocations: 225.6 kB / 0.5954 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4716, allocations: 79.38 kB / 0.5955 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006335/0.478, allocations: 2.292 MB / 0.5977 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.478, allocations: 4.562 kB / 0.5977 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.4781, allocations: 3.781 kB / 0.5977 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.4781, allocations: 3.234 kB / 0.5977 GB, free: 25.02 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.008257/0.4863, allocations: 3.39 MB / 0.601 GB, free: 23.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4864, allocations: 0 / 0.601 GB, free: 23.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.4869, allocations: 65.02 kB / 0.6011 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/0.4904, allocations: 1.088 MB / 0.6021 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.4905, allocations: 15.84 kB / 0.6022 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008385/0.4989, allocations: 4.131 MB / 0.6062 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.499, allocations: 0 / 0.6062 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/0.5066, allocations: 2.891 MB / 0.609 GB, free: 20.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.507, allocations: 187.9 kB / 0.6092 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5073, allocations: 12.84 kB / 0.6092 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/0.5081, allocations: 72.12 kB / 0.6093 GB, free: 20.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/0.5086, allocations: 120.1 kB / 0.6094 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.5086, allocations: 17.61 kB / 0.6094 GB, free: 20.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009074/0.5096, allocations: 0.5143 MB / 0.6099 GB, free: 19.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5096, allocations: 0 / 0.6099 GB, free: 19.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001309/0.5109, allocations: 301.8 kB / 0.6102 GB, free: 19.8 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.007293/0.5182, allocations: 3.461 MB / 0.6136 GB, free: 17.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004286/0.5225, allocations: 2.005 MB / 0.6155 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5225, allocations: 0 / 0.6155 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002522/0.5251, allocations: 1.202 MB / 0.6167 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.5259, allocations: 61.23 kB / 0.6168 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.5396, allocations: 7.175 MB / 0.6238 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.5401, allocations: 0.9382 MB / 0.6247 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003248/0.5405, allocations: 75.89 kB / 0.6248 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.5409, allocations: 287.3 kB / 0.625 GB, free: 6.195 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5409, allocations: 0 / 0.625 GB, free: 6.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.5811, allocations: 20.27 MB / 0.6448 GB, free: 2.273 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.5813, allocations: 192.1 kB / 0.645 GB, free: 2.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.841, allocations: 0 / 0.645 GB, free: 2.035 MB / 446.1 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) Environment - environmentSimulation: