Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09034/0.09034, allocations: 12.2 MB / 27.15 MB, free: 1.531 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009739, allocations: 100.2 kB / 30.66 MB, free: 4.883 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 239.5 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 185 kB / 290.6 MB, free: 14.06 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5146/0.5146, allocations: 78.5 MB / 420.1 MB, free: 12.29 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009393/0.0009394, allocations: 36 kB / 0.4895 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3917, allocations: 69.22 MB / 0.5571 GB, free: 21.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003724/0.3954, allocations: 4.301 MB / 0.5613 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.398, allocations: 1.535 MB / 0.5628 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.3983, allocations: 8 kB / 0.5628 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.3987, allocations: 119.2 kB / 0.5629 GB, free: 15.16 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001143/0.3998, allocations: 0.5537 MB / 0.5635 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.4004, allocations: 334.7 kB / 0.5638 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.4011, allocations: 0.6709 MB / 0.5644 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.4014, allocations: 180.2 kB / 0.5646 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.4018, allocations: 366.6 kB / 0.565 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.4022, allocations: 490 kB / 0.5654 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.4023, allocations: 44 kB / 0.5655 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.4026, allocations: 151.9 kB / 0.5656 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4027, allocations: 163.3 kB / 0.5658 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4029, allocations: 169.2 kB / 0.5659 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.4036, allocations: 0.9233 MB / 0.5668 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.4036, allocations: 0 / 0.5668 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4036, allocations: 0 / 0.5668 GB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4036, allocations: 4 kB / 0.5668 GB, free: 11.13 MB / 382.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.004654/0.4083, allocations: 1.624 MB / 0.5684 GB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4083, allocations: 11.98 kB / 0.5684 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.4085, allocations: 94.52 kB / 0.5685 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.4117, allocations: 0.5257 MB / 0.569 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.4126, allocations: 0.6203 MB / 0.5696 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4128, allocations: 150.1 kB / 0.5698 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.4129, allocations: 52 kB / 0.5698 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4141, allocations: 0.6935 MB / 0.5705 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4142, allocations: 3.938 kB / 0.5705 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.4142, allocations: 16 kB / 0.5705 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4143, allocations: 12 kB / 0.5705 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.4154, allocations: 0.6637 MB / 0.5712 GB, free: 6.539 MB / 382.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.003989/0.4194, allocations: 2.779 MB / 0.5739 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.4318, allocations: 3.762 MB / 0.5776 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.432, allocations: 8.562 kB / 0.5776 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4321, allocations: 47.05 kB / 0.5776 GB, free: 15.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.665e-06/0.4321, allocations: 0 / 0.5776 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01409/0.4462, allocations: 4.213 MB / 0.5817 GB, free: 11.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.4463, allocations: 63.92 kB / 0.5818 GB, free: 11.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4478, allocations: 0.7545 MB / 0.5825 GB, free: 10.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.4479, allocations: 37.7 kB / 0.5826 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.4483, allocations: 356.6 kB / 0.5829 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.4486, allocations: 213 kB / 0.5831 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4487, allocations: 16 kB / 0.5831 GB, free: 10 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.4489, allocations: 390.7 kB / 0.5835 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.4501, allocations: 0.5291 MB / 0.584 GB, free: 9.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.4513, allocations: 0.6266 MB / 0.5846 GB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.4526, allocations: 0.5818 MB / 0.5852 GB, free: 7.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4526, allocations: 3.938 kB / 0.5852 GB, free: 7.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007997/0.4606, allocations: 2.717 MB / 0.5879 GB, free: 5.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.4607, allocations: 11.95 kB / 0.5879 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4607, allocations: 0 / 0.5879 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/0.4657, allocations: 1.219 MB / 0.5891 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.4666, allocations: 155.7 kB / 0.5892 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.4801, allocations: 6.546 MB / 0.5956 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.4818, allocations: 123.2 kB / 0.5957 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.482, allocations: 35.98 kB / 0.5958 GB, free: 12.75 MB / 414.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.0006346/0.4827, allocations: 213.6 kB / 0.596 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.483, allocations: 82.97 kB / 0.596 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006502/0.4895, allocations: 2.293 MB / 0.5983 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4896, allocations: 4 kB / 0.5983 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.4896, allocations: 8 kB / 0.5983 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4896, allocations: 3.984 kB / 0.5983 GB, free: 10.12 MB / 414.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.007809/0.4974, allocations: 3.384 MB / 0.6016 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4975, allocations: 7.938 kB / 0.6016 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.4979, allocations: 63.91 kB / 0.6017 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00351/0.5015, allocations: 1.078 MB / 0.6027 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.5016, allocations: 15.98 kB / 0.6027 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008868/0.5104, allocations: 4.308 MB / 0.6069 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5105, allocations: 96 / 0.6069 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/0.5186, allocations: 2.901 MB / 0.6098 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/0.5192, allocations: 183.9 kB / 0.61 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.5195, allocations: 12 kB / 0.61 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009295/0.5204, allocations: 71.94 kB / 0.61 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/0.5209, allocations: 116.3 kB / 0.6101 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.5209, allocations: 12 kB / 0.6102 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009181/0.5219, allocations: 0.5147 MB / 0.6107 GB, free: 13.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5219, allocations: 0 / 0.6107 GB, free: 13.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001392/0.5233, allocations: 303.6 kB / 0.6109 GB, free: 12.88 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.008154/0.5314, allocations: 3.469 MB / 0.6143 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005181/0.5367, allocations: 1.995 MB / 0.6163 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5367, allocations: 0 / 0.6163 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003076/0.5398, allocations: 1.209 MB / 0.6175 GB, free: 6.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.5406, allocations: 54.95 kB / 0.6175 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.5452, allocations: 3.28 MB / 0.6207 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.5457, allocations: 0.9538 MB / 0.6217 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003246/0.5461, allocations: 65.14 kB / 0.6217 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.5465, allocations: 287.3 kB / 0.622 GB, free: 1.301 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5465, allocations: 0 / 0.622 GB, free: 1.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.5897, allocations: 19.82 MB / 0.6413 GB, free: 13.59 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.5899, allocations: 194.3 kB / 0.6415 GB, free: 13.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.81, allocations: 0 / 0.6415 GB, free: 13.35 MB / 462.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) Environment - environmentSimulation: