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.007873/0.007874, allocations: 168.3 kB / 15.13 MB, free: 6.023 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.426/1.426, allocations: 223.3 MB / 239.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007926/0.0007929, allocations: 88.69 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4794/0.4794, allocations: 78.63 MB / 420 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 12 kB / 500 MB, free: 2.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4416, allocations: 69.34 MB / 0.556 GB, free: 38.4 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004664/0.4463, allocations: 4.473 MB / 0.5603 GB, free: 37.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.45, allocations: 1.543 MB / 0.5619 GB, free: 37.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.4506, allocations: 6.906 kB / 0.5619 GB, free: 37.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.451, allocations: 117.3 kB / 0.562 GB, free: 37.34 MB / 426.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.001479/0.4525, allocations: 0.5261 MB / 0.5625 GB, free: 36.99 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.4534, allocations: 325.6 kB / 0.5628 GB, free: 36.83 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.4545, allocations: 0.9668 MB / 0.5637 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.4549, allocations: 189.7 kB / 0.5639 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.4554, allocations: 366.6 kB / 0.5643 GB, free: 36.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.456, allocations: 488.9 kB / 0.5647 GB, free: 35.87 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.4561, allocations: 45.56 kB / 0.5648 GB, free: 35.87 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.4566, allocations: 170.8 kB / 0.5649 GB, free: 35.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.4568, allocations: 168.8 kB / 0.5651 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4569, allocations: 165 kB / 0.5653 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.4578, allocations: 0.9485 MB / 0.5662 GB, free: 35.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4578, allocations: 1.062 kB / 0.5662 GB, free: 35.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4578, allocations: 0 / 0.5662 GB, free: 35.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.4579, allocations: 4 kB / 0.5662 GB, free: 35.35 MB / 426.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.005093/0.463, allocations: 1.631 MB / 0.5678 GB, free: 34.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.463, allocations: 11.88 kB / 0.5678 GB, free: 34.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.4631, allocations: 90.58 kB / 0.5679 GB, free: 34.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.4664, allocations: 0.5139 MB / 0.5684 GB, free: 34.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4674, allocations: 0.6247 MB / 0.569 GB, free: 33.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.4676, allocations: 150.2 kB / 0.5691 GB, free: 33.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4677, allocations: 50.5 kB / 0.5692 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.469, allocations: 0.6939 MB / 0.5699 GB, free: 33.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.469, allocations: 0 / 0.5699 GB, free: 33.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.4691, allocations: 23.06 kB / 0.5699 GB, free: 33.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4691, allocations: 11.5 kB / 0.5699 GB, free: 33.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.4703, allocations: 0.6584 MB / 0.5705 GB, free: 33.28 MB / 426.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.004135/0.4744, allocations: 2.683 MB / 0.5732 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/0.4874, allocations: 3.77 MB / 0.5768 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.4884, allocations: 479.7 kB / 0.5773 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.4885, allocations: 10.75 kB / 0.5773 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4886, allocations: 37.91 kB / 0.5773 GB, free: 30.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.295e-06/0.4886, allocations: 3.938 kB / 0.5773 GB, free: 30.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01325/0.5018, allocations: 4.23 MB / 0.5815 GB, free: 29.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5019, allocations: 59.28 kB / 0.5815 GB, free: 29.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.5031, allocations: 0.7578 MB / 0.5823 GB, free: 29.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.5032, allocations: 36.73 kB / 0.5823 GB, free: 29.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.5034, allocations: 347.9 kB / 0.5826 GB, free: 29.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.5037, allocations: 219.5 kB / 0.5829 GB, free: 28.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.5037, allocations: 17.69 kB / 0.5829 GB, free: 28.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5039, allocations: 392.1 kB / 0.5832 GB, free: 28.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.5049, allocations: 0.5325 MB / 0.5838 GB, free: 28.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.5059, allocations: 0.6251 MB / 0.5844 GB, free: 28.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.507, allocations: 0.5742 MB / 0.5849 GB, free: 27.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.507, allocations: 0 / 0.5849 GB, free: 27.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007503/0.5145, allocations: 2.733 MB / 0.5876 GB, free: 26.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.5146, allocations: 6.531 kB / 0.5876 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5146, allocations: 3.188 kB / 0.5876 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/0.5192, allocations: 1.212 MB / 0.5888 GB, free: 26.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.5202, allocations: 154.1 kB / 0.5889 GB, free: 26.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.5317, allocations: 6.332 MB / 0.5951 GB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5333, allocations: 128.3 kB / 0.5952 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.5334, allocations: 36.97 kB / 0.5953 GB, free: 22.74 MB / 426.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.0004113/0.5338, allocations: 218.1 kB / 0.5955 GB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.5339, allocations: 80.22 kB / 0.5956 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006511/0.5405, allocations: 2.294 MB / 0.5978 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5405, allocations: 6.281 kB / 0.5978 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.5405, allocations: 4.25 kB / 0.5978 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5405, allocations: 3.188 kB / 0.5978 GB, free: 21.89 MB / 426.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.008606/0.5492, allocations: 3.382 MB / 0.6011 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5492, allocations: 0 / 0.6011 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.5497, allocations: 67 kB / 0.6012 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003846/0.5536, allocations: 1.088 MB / 0.6023 GB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.5537, allocations: 16.38 kB / 0.6023 GB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008622/0.5623, allocations: 4.128 MB / 0.6063 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5623, allocations: 1.438 kB / 0.6063 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008669/0.571, allocations: 2.896 MB / 0.6091 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.5716, allocations: 184.2 kB / 0.6093 GB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5717, allocations: 19.41 kB / 0.6093 GB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.5726, allocations: 72.8 kB / 0.6094 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/0.5731, allocations: 118.4 kB / 0.6095 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.5731, allocations: 11.78 kB / 0.6095 GB, free: 16.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008909/0.574, allocations: 0.5142 MB / 0.61 GB, free: 16.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.574, allocations: 0 / 0.61 GB, free: 16.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001541/0.5756, allocations: 296.3 kB / 0.6103 GB, free: 16.66 MB / 426.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.008208/0.5838, allocations: 3.469 MB / 0.6137 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004751/0.5886, allocations: 2.001 MB / 0.6156 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5886, allocations: 4 kB / 0.6156 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.5915, allocations: 1.205 MB / 0.6168 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.5925, allocations: 60.75 kB / 0.6169 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.6065, allocations: 7.173 MB / 0.6239 GB, free: 3.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.607, allocations: 0.946 MB / 0.6248 GB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.6073, allocations: 65.14 kB / 0.6249 GB, free: 2.531 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.6077, allocations: 283.5 kB / 0.6251 GB, free: 2.258 MB / 426.7 MB Notification: Performance of SimCode: time 1.704e-06/0.6077, allocations: 4 kB / 0.6251 GB, free: 2.254 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.6482, allocations: 20.29 MB / 0.645 GB, free: 14.14 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.6484, allocations: 202.6 kB / 0.6452 GB, free: 13.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.429, allocations: 0 / 0.6452 GB, free: 13.9 MB / 458.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)