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.0008438/0.0008437, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.184/1.184, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.0009457/0.0009457, allocations: 188.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4125/0.4125, allocations: 78.58 MB / 420.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 8 kB / 0.4887 GB, free: 5.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 69.36 MB / 0.5565 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.1936/0.3134, allocations: 4.752 MB / 0.5611 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3156, allocations: 1.618 MB / 0.5627 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.3158, allocations: 8.219 kB / 0.5627 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.3161, allocations: 129.6 kB / 0.5628 GB, free: 36.31 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.001046/0.3172, allocations: 0.5746 MB / 0.5634 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.3177, allocations: 379.1 kB / 0.5637 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.3184, allocations: 1.02 MB / 0.5647 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.3187, allocations: 183.2 kB / 0.5649 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.319, allocations: 383 kB / 0.5653 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.3194, allocations: 0.4928 MB / 0.5658 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/0.3195, allocations: 45.84 kB / 0.5658 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.3198, allocations: 175.1 kB / 0.566 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3199, allocations: 172.1 kB / 0.5661 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.3201, allocations: 445.9 kB / 0.5666 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.3208, allocations: 1.18 MB / 0.5677 GB, free: 34.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3208, allocations: 0 / 0.5677 GB, free: 34.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3208, allocations: 0.5 kB / 0.5677 GB, free: 34.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3208, allocations: 0.5625 kB / 0.5677 GB, free: 34.97 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.00427/0.3251, allocations: 1.629 MB / 0.5693 GB, free: 34.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3252, allocations: 8.281 kB / 0.5693 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.685e-05/0.3253, allocations: 90.02 kB / 0.5694 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.3282, allocations: 0.5256 MB / 0.5699 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/0.3289, allocations: 0.645 MB / 0.5705 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.329, allocations: 149.3 kB / 0.5707 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3291, allocations: 55.81 kB / 0.5707 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.3303, allocations: 0.6979 MB / 0.5714 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3303, allocations: 2.25 kB / 0.5714 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.3304, allocations: 21.09 kB / 0.5714 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3304, allocations: 17.25 kB / 0.5715 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.3315, allocations: 0.6667 MB / 0.5721 GB, free: 33.69 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.00348/0.3349, allocations: 2.67 MB / 0.5747 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.3472, allocations: 3.771 MB / 0.5784 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.3481, allocations: 481.6 kB / 0.5789 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.3481, allocations: 11.34 kB / 0.5789 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3482, allocations: 42.44 kB / 0.5789 GB, free: 32.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.836e-06/0.3482, allocations: 2.625 kB / 0.5789 GB, free: 32.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01235/0.3605, allocations: 4.232 MB / 0.5831 GB, free: 31.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3606, allocations: 57.81 kB / 0.5831 GB, free: 31.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.3615, allocations: 0.7733 MB / 0.5839 GB, free: 31.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.3616, allocations: 36.27 kB / 0.5839 GB, free: 31.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3618, allocations: 353.4 kB / 0.5842 GB, free: 31.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.362, allocations: 207.8 kB / 0.5844 GB, free: 31.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3621, allocations: 85.98 kB / 0.5845 GB, free: 31.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.3622, allocations: 395 kB / 0.5849 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/0.3631, allocations: 0.5322 MB / 0.5854 GB, free: 30.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000981/0.3641, allocations: 0.633 MB / 0.586 GB, free: 30.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/0.3787, allocations: 3.802 MB / 0.5897 GB, free: 29.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.3788, allocations: 1.219 kB / 0.5897 GB, free: 29.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00727/0.3861, allocations: 2.753 MB / 0.5924 GB, free: 28.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3861, allocations: 7.594 kB / 0.5924 GB, free: 28.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3861, allocations: 1.375 kB / 0.5924 GB, free: 28.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/0.3905, allocations: 1.201 MB / 0.5936 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.3912, allocations: 151.5 kB / 0.5938 GB, free: 28.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.4015, allocations: 5.106 MB / 0.5987 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.4027, allocations: 133.2 kB / 0.5989 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.4028, allocations: 40.14 kB / 0.5989 GB, free: 25.39 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.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004921/0.4033, allocations: 208.7 kB / 0.5991 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.4035, allocations: 82.44 kB / 0.5992 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/0.41, allocations: 2.299 MB / 0.6014 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.41, allocations: 5.156 kB / 0.6014 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.41, allocations: 4.844 kB / 0.6014 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.41, allocations: 2.719 kB / 0.6014 GB, free: 24.55 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.007565/0.4176, allocations: 3.387 MB / 0.6048 GB, free: 23.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4176, allocations: 0.7969 kB / 0.6048 GB, free: 23.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.418, allocations: 65.77 kB / 0.6048 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/0.4215, allocations: 1.079 MB / 0.6059 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.4216, allocations: 16.36 kB / 0.6059 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007885/0.4295, allocations: 4.148 MB / 0.6099 GB, free: 20.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4295, allocations: 0 / 0.6099 GB, free: 20.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/0.4366, allocations: 2.904 MB / 0.6128 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.4369, allocations: 186.5 kB / 0.6129 GB, free: 19.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.437, allocations: 8.797 kB / 0.613 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.4378, allocations: 71.42 kB / 0.613 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.4381, allocations: 118.3 kB / 0.6131 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.4381, allocations: 16 kB / 0.6132 GB, free: 18.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005587/0.4387, allocations: 0.5143 MB / 0.6137 GB, free: 18.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4387, allocations: 0 / 0.6137 GB, free: 18.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008599/0.4396, allocations: 300.4 kB / 0.6139 GB, free: 18.15 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00679/0.4464, allocations: 3.47 MB / 0.6173 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003985/0.4504, allocations: 1.906 MB / 0.6192 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4504, allocations: 4 kB / 0.6192 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.4529, allocations: 1.203 MB / 0.6204 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.4535, allocations: 70.06 kB / 0.6204 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.4731, allocations: 11.27 MB / 0.6314 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4736, allocations: 0.9422 MB / 0.6324 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002651/0.4738, allocations: 70.95 kB / 0.6324 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.4742, allocations: 283.3 kB / 0.6327 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4742, allocations: 0 / 0.6327 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.5126, allocations: 19.71 MB / 0.652 GB, free: 11.42 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.5128, allocations: 192.3 kB / 0.6521 GB, free: 11.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.548, allocations: 3.5 kB / 0.6521 GB, free: 11.17 MB / 462.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/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)