Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.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.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",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.0008959/0.000896, 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.185/1.185, allocations: 223.2 MB / 239.3 MB, free: 5.527 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.0009157/0.0009159, allocations: 179.4 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4074/0.4074, allocations: 78.55 MB / 420.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 12 kB / 0.4888 GB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 69.36 MB / 0.5565 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2037/0.3211, allocations: 7.393 MB / 0.5637 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.3251, allocations: 2.313 MB / 0.566 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.3264, allocations: 16.09 kB / 0.566 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.327, allocations: 229 kB / 0.5662 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.3295, allocations: 1.094 MB / 0.5673 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.3305, allocations: 0.5361 MB / 0.5678 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.3317, allocations: 1.923 MB / 0.5697 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.3321, allocations: 297.6 kB / 0.57 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.3326, allocations: 0.6923 MB / 0.5706 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.3333, allocations: 0.9419 MB / 0.5715 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3334, allocations: 81.53 kB / 0.5716 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.3339, allocations: 296.2 kB / 0.5719 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.3341, allocations: 322.6 kB / 0.5722 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004285/0.3345, allocations: 0.7529 MB / 0.573 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3356, allocations: 1.903 MB / 0.5748 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3356, allocations: 3.938 kB / 0.5748 GB, free: 31.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3356, allocations: 1.594 kB / 0.5748 GB, free: 31.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3356, allocations: 0 / 0.5748 GB, free: 31.52 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.01194/0.3476, allocations: 3.686 MB / 0.5784 GB, free: 30.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3476, allocations: 14.03 kB / 0.5784 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.3478, allocations: 141.7 kB / 0.5786 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.3516, allocations: 0.7227 MB / 0.5793 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3527, allocations: 0.9771 MB / 0.5802 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.353, allocations: 373.8 kB / 0.5806 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.3532, allocations: 98.52 kB / 0.5807 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.3554, allocations: 1.367 MB / 0.582 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3554, allocations: 0.75 kB / 0.582 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.754e-05/0.3555, allocations: 39.73 kB / 0.582 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3555, allocations: 21.62 kB / 0.5821 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.3578, allocations: 1.303 MB / 0.5833 GB, free: 29.51 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.006366/0.3642, allocations: 4.52 MB / 0.5878 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/0.3716, allocations: 3.079 MB / 0.5908 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.3733, allocations: 0.9352 MB / 0.5917 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.3734, allocations: 20.73 kB / 0.5917 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3734, allocations: 47.59 kB / 0.5917 GB, free: 25.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 2.405e-06/0.3734, allocations: 4 kB / 0.5917 GB, free: 25.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.0491/0.4225, allocations: 13.83 MB / 0.6052 GB, free: 23.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4226, allocations: 90.06 kB / 0.6053 GB, free: 23.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.4242, allocations: 1.183 MB / 0.6065 GB, free: 23.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.4244, allocations: 46.42 kB / 0.6065 GB, free: 23.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.4247, allocations: 0.5433 MB / 0.6071 GB, free: 22.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.425, allocations: 404.7 kB / 0.6075 GB, free: 22.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.4252, allocations: 152 kB / 0.6076 GB, free: 22.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.4253, allocations: 310.4 kB / 0.6079 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.4271, allocations: 0.9619 MB / 0.6088 GB, free: 21.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.429, allocations: 1.157 MB / 0.61 GB, free: 20.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/0.4325, allocations: 2.119 MB / 0.612 GB, free: 19.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4325, allocations: 1.156 kB / 0.612 GB, free: 19.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.016/0.4485, allocations: 6.374 MB / 0.6183 GB, free: 14.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4486, allocations: 8.312 kB / 0.6183 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4486, allocations: 7.938 kB / 0.6183 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008286/0.4569, allocations: 2.945 MB / 0.6211 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/0.4578, allocations: 239.6 kB / 0.6214 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.4632, allocations: 3.056 MB / 0.6244 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.4649, allocations: 251 kB / 0.6246 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.465, allocations: 59.92 kB / 0.6247 GB, free: 7.551 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004069/0.4654, allocations: 269.5 kB / 0.6249 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.4656, allocations: 142.2 kB / 0.6251 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.4808, allocations: 5.834 MB / 0.6307 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4808, allocations: 13.97 kB / 0.6308 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4808, allocations: 0 / 0.6308 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4809, allocations: 7.984 kB / 0.6308 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/0.4991, allocations: 7.585 MB / 0.6382 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4992, allocations: 0 / 0.6382 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.4997, allocations: 111.8 kB / 0.6383 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008377/0.5081, allocations: 2.699 MB / 0.6409 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.5082, allocations: 27.98 kB / 0.6409 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02548/0.5337, allocations: 10.96 MB / 0.6516 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5337, allocations: 0.8594 kB / 0.6516 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/0.5525, allocations: 7.084 MB / 0.6586 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5528, allocations: 254.9 kB / 0.6588 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.553, allocations: 20 kB / 0.6588 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.5543, allocations: 152.8 kB / 0.659 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005722/0.5549, allocations: 233 kB / 0.6592 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.555, allocations: 32.8 kB / 0.6592 GB, free: 3.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.556, allocations: 0.7896 MB / 0.66 GB, free: 3.031 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.556, allocations: 0 / 0.66 GB, free: 3.031 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001158/0.5572, allocations: 0.4917 MB / 0.6605 GB, free: 2.539 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01907/0.5763, allocations: 7.672 MB / 0.668 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007893/0.5842, allocations: 2.971 MB / 0.6709 GB, free: 7.867 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5842, allocations: 3.938 kB / 0.6709 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005767/0.59, allocations: 2.106 MB / 0.6729 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.5909, allocations: 112.8 kB / 0.673 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04853/0.6394, allocations: 22.59 MB / 0.6951 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.6401, allocations: 1.16 MB / 0.6962 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.6405, allocations: 110.8 kB / 0.6963 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.6411, allocations: 0.5149 MB / 0.6968 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.6411, allocations: 4.781 kB / 0.6968 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/0.6916, allocations: 36.22 MB / 0.7322 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.6918, allocations: 224.9 kB / 0.7324 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/3.081, allocations: 0 / 0.7324 GB, free: 8.691 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)