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.001048/0.001048, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.38/1.38, allocations: 223.3 MB / 239.4 MB, free: 5.438 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.001191/0.001192, allocations: 180.5 kB / 290.6 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4756/0.4756, allocations: 91.93 MB / 433.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 15.98 kB / 0.5049 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 72.46 MB / 0.5756 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003273/0.323, allocations: 4.761 MB / 0.5803 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3249, allocations: 1.628 MB / 0.5819 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.3251, allocations: 8.281 kB / 0.5819 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3254, allocations: 126.4 kB / 0.582 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3264, allocations: 0.5747 MB / 0.5826 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.3269, allocations: 383.5 kB / 0.5829 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.3276, allocations: 1.017 MB / 0.5839 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.3278, allocations: 185.2 kB / 0.5841 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.3281, allocations: 380.8 kB / 0.5845 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3285, allocations: 0.4941 MB / 0.5849 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.3286, allocations: 51.97 kB / 0.585 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.3289, allocations: 172.8 kB / 0.5852 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.329, allocations: 180.3 kB / 0.5853 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3293, allocations: 441.3 kB / 0.5858 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.33, allocations: 1.178 MB / 0.5869 GB, free: 29.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.33, allocations: 0 / 0.5869 GB, free: 29.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.33, allocations: 0.5312 kB / 0.5869 GB, free: 29.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.33, allocations: 0.5938 kB / 0.5869 GB, free: 29.82 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.004535/0.3346, allocations: 1.632 MB / 0.5885 GB, free: 29.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3346, allocations: 9.094 kB / 0.5885 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.3347, allocations: 89.42 kB / 0.5886 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.3379, allocations: 0.5304 MB / 0.5891 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.3386, allocations: 0.6382 MB / 0.5897 GB, free: 28.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3387, allocations: 151.5 kB / 0.5899 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3389, allocations: 53.56 kB / 0.5899 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3401, allocations: 0.6977 MB / 0.5906 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3402, allocations: 0 / 0.5906 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.3402, allocations: 19.97 kB / 0.5906 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.3402, allocations: 16.47 kB / 0.5906 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3415, allocations: 0.6696 MB / 0.5913 GB, free: 27.73 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.003771/0.3453, allocations: 2.667 MB / 0.5939 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.3587, allocations: 3.774 MB / 0.5976 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009354/0.3597, allocations: 484.7 kB / 0.5981 GB, free: 25.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.535e-05/0.3597, allocations: 11.25 kB / 0.5981 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3598, allocations: 38.22 kB / 0.5981 GB, free: 25.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.214e-06/0.3598, allocations: 0 / 0.5981 GB, free: 25.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01374/0.3735, allocations: 4.232 MB / 0.6022 GB, free: 24.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.3736, allocations: 57.41 kB / 0.6023 GB, free: 24.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3746, allocations: 0.7741 MB / 0.603 GB, free: 23.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/0.3747, allocations: 36.45 kB / 0.6031 GB, free: 23.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.3749, allocations: 359.3 kB / 0.6034 GB, free: 23.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.3751, allocations: 207.6 kB / 0.6036 GB, free: 23.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3752, allocations: 89.94 kB / 0.6037 GB, free: 23.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3754, allocations: 393.2 kB / 0.6041 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3764, allocations: 0.5318 MB / 0.6046 GB, free: 22.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.3775, allocations: 0.6334 MB / 0.6052 GB, free: 22.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/0.3933, allocations: 3.807 MB / 0.6089 GB, free: 21.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3933, allocations: 1.312 kB / 0.6089 GB, free: 21.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007874/0.4012, allocations: 2.745 MB / 0.6116 GB, free: 20.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4012, allocations: 7.312 kB / 0.6116 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4013, allocations: 2.062 kB / 0.6116 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004582/0.4058, allocations: 1.196 MB / 0.6128 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.4066, allocations: 154.5 kB / 0.6129 GB, free: 20.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.417, allocations: 5.11 MB / 0.6179 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4181, allocations: 136.5 kB / 0.6181 GB, free: 17.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.4182, allocations: 38.89 kB / 0.6181 GB, free: 17.45 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.000358/0.4185, allocations: 212.4 kB / 0.6183 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4187, allocations: 79.58 kB / 0.6184 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/0.4246, allocations: 2.298 MB / 0.6206 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4246, allocations: 11.98 kB / 0.6206 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4246, allocations: 4 kB / 0.6206 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4247, allocations: 7.984 kB / 0.6206 GB, free: 14.98 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.006649/0.4313, allocations: 3.392 MB / 0.624 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4313, allocations: 4 kB / 0.624 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.4317, allocations: 63.89 kB / 0.624 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/0.4349, allocations: 1.082 MB / 0.6251 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.435, allocations: 12 kB / 0.6251 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007087/0.4421, allocations: 4.13 MB / 0.6291 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4421, allocations: 0 / 0.6291 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/0.4487, allocations: 2.909 MB / 0.632 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.4489, allocations: 180 kB / 0.6321 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.449, allocations: 12 kB / 0.6321 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.4498, allocations: 71.94 kB / 0.6322 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.4501, allocations: 116.4 kB / 0.6323 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.4501, allocations: 16 kB / 0.6323 GB, free: 2.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000513/0.4506, allocations: 0.5186 MB / 0.6328 GB, free: 2.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4506, allocations: 0 / 0.6328 GB, free: 2.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008133/0.4514, allocations: 299.7 kB / 0.6331 GB, free: 1.914 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.007318/0.4588, allocations: 3.472 MB / 0.6365 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00455/0.4633, allocations: 1.918 MB / 0.6384 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4633, allocations: 0 / 0.6384 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002854/0.4662, allocations: 1.209 MB / 0.6396 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.4668, allocations: 66.92 kB / 0.6396 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/0.4894, allocations: 11.28 MB / 0.6507 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.4899, allocations: 0.9421 MB / 0.6516 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.4903, allocations: 65.14 kB / 0.6516 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.4907, allocations: 283.3 kB / 0.6519 GB, free: 14.26 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4907, allocations: 4 kB / 0.6519 GB, free: 14.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.179/2.669, allocations: 19.74 MB / 0.6712 GB, free: 10.69 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/2.67, allocations: 204.4 kB / 0.6714 GB, free: 10.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/4.874, allocations: 0 / 0.6714 GB, free: 10.43 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)