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.001336/0.001336, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.409/1.409, allocations: 222.9 MB / 239 MB, free: 4.699 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.001822/0.001822, allocations: 200.4 kB / 289.3 MB, free: 2.426 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5406/0.5406, allocations: 91.9 MB / 431.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001613, allocations: 75.88 kB / 0.5015 GB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4871, allocations: 71.25 MB / 0.5711 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005542/0.4927, allocations: 5.198 MB / 0.5762 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.4957, allocations: 1.632 MB / 0.5777 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.4961, allocations: 8.531 kB / 0.5778 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.4966, allocations: 133.4 kB / 0.5779 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.498, allocations: 0.5701 MB / 0.5784 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.4988, allocations: 383.7 kB / 0.5788 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009176/0.4998, allocations: 1.075 MB / 0.5799 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.5001, allocations: 210.6 kB / 0.5801 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.5005, allocations: 449 kB / 0.5805 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.501, allocations: 0.5613 MB / 0.581 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.5012, allocations: 98.91 kB / 0.5811 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.5016, allocations: 244.7 kB / 0.5814 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.5017, allocations: 228.2 kB / 0.5816 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.5021, allocations: 478.4 kB / 0.582 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.5031, allocations: 1.247 MB / 0.5832 GB, free: 29.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5031, allocations: 0 / 0.5832 GB, free: 29.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5031, allocations: 0 / 0.5832 GB, free: 29.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.5031, allocations: 0 / 0.5832 GB, free: 29.91 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.0051/0.5082, allocations: 1.76 MB / 0.585 GB, free: 29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5083, allocations: 12.31 kB / 0.585 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.5084, allocations: 90.27 kB / 0.5851 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.5116, allocations: 0.5231 MB / 0.5856 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.5126, allocations: 0.6482 MB / 0.5862 GB, free: 28.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.5128, allocations: 141.7 kB / 0.5863 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5129, allocations: 54 kB / 0.5864 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.5144, allocations: 0.655 MB / 0.587 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.5144, allocations: 0 / 0.587 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.5145, allocations: 20.56 kB / 0.5871 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5145, allocations: 18.81 kB / 0.5871 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.5158, allocations: 0.6291 MB / 0.5877 GB, free: 27.71 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.004203/0.52, allocations: 2.637 MB / 0.5903 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.5322, allocations: 2.816 MB / 0.593 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.5336, allocations: 446.5 kB / 0.5934 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.5337, allocations: 13.39 kB / 0.5935 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5338, allocations: 37.56 kB / 0.5935 GB, free: 25.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.046e-06/0.5338, allocations: 0 / 0.5935 GB, free: 25.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01346/0.5472, allocations: 3.526 MB / 0.5969 GB, free: 24.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5473, allocations: 58.78 kB / 0.597 GB, free: 24.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.5487, allocations: 0.7687 MB / 0.5977 GB, free: 24.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.5488, allocations: 40.11 kB / 0.5978 GB, free: 23.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.5491, allocations: 352 kB / 0.5981 GB, free: 23.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.5494, allocations: 212.2 kB / 0.5983 GB, free: 23.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.5497, allocations: 170.6 kB / 0.5985 GB, free: 23.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5499, allocations: 392.7 kB / 0.5988 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.5509, allocations: 0.5002 MB / 0.5993 GB, free: 22.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5521, allocations: 0.5992 MB / 0.5999 GB, free: 22.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/0.5682, allocations: 3.555 MB / 0.6034 GB, free: 21.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.5682, allocations: 0 / 0.6034 GB, free: 21.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007453/0.5757, allocations: 2.394 MB / 0.6057 GB, free: 20.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.5757, allocations: 5.594 kB / 0.6057 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5757, allocations: 1.438 kB / 0.6057 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004408/0.5802, allocations: 1.054 MB / 0.6068 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.5811, allocations: 152.2 kB / 0.6069 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.5923, allocations: 5.076 MB / 0.6119 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.5938, allocations: 108.2 kB / 0.612 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.5939, allocations: 33.33 kB / 0.612 GB, free: 17.69 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.0005077/0.5944, allocations: 209 kB / 0.6122 GB, free: 17.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.5946, allocations: 84.22 kB / 0.6123 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/0.601, allocations: 1.945 MB / 0.6142 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.6011, allocations: 5.875 kB / 0.6142 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.6011, allocations: 9.281 kB / 0.6142 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.6011, allocations: 2.438 kB / 0.6142 GB, free: 16.88 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.007146/0.6083, allocations: 3.046 MB / 0.6172 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.6083, allocations: 4.875 kB / 0.6172 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.6088, allocations: 67.38 kB / 0.6172 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/0.6117, allocations: 0.937 MB / 0.6182 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/0.6118, allocations: 16 kB / 0.6182 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/0.619, allocations: 4.101 MB / 0.6222 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.619, allocations: 7.938 kB / 0.6222 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/0.6252, allocations: 2.514 MB / 0.6246 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.6256, allocations: 172 kB / 0.6248 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.6259, allocations: 12 kB / 0.6248 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008667/0.6267, allocations: 55.94 kB / 0.6249 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.6271, allocations: 120.4 kB / 0.625 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.6271, allocations: 19.98 kB / 0.625 GB, free: 6.727 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006717/0.6278, allocations: 0.5108 MB / 0.6255 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6278, allocations: 0 / 0.6255 GB, free: 6.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001097/0.6289, allocations: 303.7 kB / 0.6258 GB, free: 5.922 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.006377/0.6353, allocations: 3.09 MB / 0.6288 GB, free: 2.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004226/0.6396, allocations: 1.75 MB / 0.6305 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6396, allocations: 0 / 0.6305 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.6421, allocations: 1.084 MB / 0.6316 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.6431, allocations: 58.88 kB / 0.6316 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/0.6682, allocations: 10.45 MB / 0.6418 GB, free: 5.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.6689, allocations: 0.9382 MB / 0.6428 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004407/0.6694, allocations: 65.14 kB / 0.6428 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/0.67, allocations: 295.5 kB / 0.6431 GB, free: 3.773 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.67, allocations: 0 / 0.6431 GB, free: 3.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.7186, allocations: 20.76 MB / 0.6634 GB, free: 15.16 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.7189, allocations: 201.2 kB / 0.6636 GB, free: 14.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.105, allocations: 2.5 kB / 0.6636 GB, free: 14.91 MB / 478.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/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)