Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09054/0.09054, allocations: 12.59 MB / 28.23 MB, free: 0.7656 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.00112/0.00112, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.417/1.417, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001419/0.001419, allocations: 192.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4567/0.4567, allocations: 78.5 MB / 419.3 MB, free: 11.25 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.002592/0.002592, allocations: 141.8 kB / 0.5554 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1421, allocations: 68.14 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.008228/0.1504, allocations: 7.55 MB / 0.6293 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.1559, allocations: 2.274 MB / 0.6315 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.1575, allocations: 12 kB / 0.6315 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1586, allocations: 293.5 kB / 0.6318 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.1627, allocations: 1.263 MB / 0.633 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1644, allocations: 0.5842 MB / 0.6336 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.1679, allocations: 2.026 MB / 0.6356 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.1687, allocations: 345 kB / 0.6359 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.1701, allocations: 0.7781 MB / 0.6367 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.1716, allocations: 1.011 MB / 0.6377 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.1722, allocations: 147.9 kB / 0.6378 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1733, allocations: 379.7 kB / 0.6382 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.1739, allocations: 386.5 kB / 0.6385 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.1751, allocations: 0.808 MB / 0.6393 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.1778, allocations: 2.027 MB / 0.6413 GB, free: 12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1779, allocations: 3.938 kB / 0.6413 GB, free: 12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1779, allocations: 0 / 0.6413 GB, free: 12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.174e-05/0.1779, allocations: 0 / 0.6413 GB, free: 12 MB / 462.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.01543/0.1934, allocations: 3.92 MB / 0.6451 GB, free: 8.016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.1935, allocations: 19.97 kB / 0.6452 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003623/0.1938, allocations: 139.3 kB / 0.6453 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.1987, allocations: 0.7249 MB / 0.646 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.2009, allocations: 0.9792 MB / 0.647 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.2014, allocations: 361.3 kB / 0.6473 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.2017, allocations: 103.9 kB / 0.6474 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/0.2048, allocations: 1.282 MB / 0.6486 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.2049, allocations: 3.938 kB / 0.6487 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.205, allocations: 40 kB / 0.6487 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.205, allocations: 20 kB / 0.6487 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.2079, allocations: 1.214 MB / 0.6499 GB, free: 3.016 MB / 462.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.008986/0.2169, allocations: 4.423 MB / 0.6542 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007664/0.2246, allocations: 2.519 MB / 0.6567 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.2265, allocations: 0.8614 MB / 0.6575 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.2267, allocations: 16.98 kB / 0.6575 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2268, allocations: 51.55 kB / 0.6576 GB, free: 10.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 4.709e-06/0.2268, allocations: 0 / 0.6576 GB, free: 10.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04927/0.2761, allocations: 11.36 MB / 0.6687 GB, free: 15.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.2762, allocations: 90.11 kB / 0.6688 GB, free: 15.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.2787, allocations: 1.188 MB / 0.6699 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.2791, allocations: 45.7 kB / 0.67 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.2798, allocations: 0.5454 MB / 0.6705 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000748/0.2806, allocations: 424.4 kB / 0.6709 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.2817, allocations: 283.5 kB / 0.6712 GB, free: 12.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2818, allocations: 309.1 kB / 0.6715 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.2841, allocations: 0.8863 MB / 0.6723 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.2865, allocations: 1.073 MB / 0.6734 GB, free: 10.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004382/0.2909, allocations: 1.956 MB / 0.6753 GB, free: 8.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2909, allocations: 0 / 0.6753 GB, free: 8.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01797/0.3089, allocations: 5.329 MB / 0.6805 GB, free: 3.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.309, allocations: 7.984 kB / 0.6805 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.309, allocations: 7.938 kB / 0.6805 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009714/0.3187, allocations: 2.56 MB / 0.683 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.32, allocations: 239.6 kB / 0.6832 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.3268, allocations: 2.756 MB / 0.6859 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.3289, allocations: 210.8 kB / 0.6861 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.3292, allocations: 55.98 kB / 0.6862 GB, free: 13.3 MB / 0.4981 GB 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.0007202/0.33, allocations: 267.1 kB / 0.6864 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/0.3304, allocations: 147.1 kB / 0.6866 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/0.3469, allocations: 4.786 MB / 0.6912 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.347, allocations: 12 kB / 0.6913 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.347, allocations: 0 / 0.6913 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/0.3471, allocations: 3.984 kB / 0.6913 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/0.3671, allocations: 6.531 MB / 0.6976 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.3672, allocations: 0 / 0.6976 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.3679, allocations: 115.8 kB / 0.6978 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008628/0.3765, allocations: 2.329 MB / 0.7 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.3768, allocations: 27.98 kB / 0.7001 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/0.4058, allocations: 10.76 MB / 0.7106 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4059, allocations: 0 / 0.7106 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3183/0.7242, allocations: 5.947 MB / 0.7164 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/0.7248, allocations: 251.7 kB / 0.7166 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.7251, allocations: 23.09 kB / 0.7166 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7266, allocations: 107.5 kB / 0.7167 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009836/0.7276, allocations: 247 kB / 0.717 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.7278, allocations: 28.11 kB / 0.717 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001378/0.7291, allocations: 0.7976 MB / 0.7178 GB, free: 83.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7292, allocations: 0 / 0.7178 GB, free: 83.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001774/0.7309, allocations: 0.497 MB / 0.7183 GB, free: 83.21 MB / 0.5137 GB 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.02153/0.7525, allocations: 6.544 MB / 0.7247 GB, free: 81.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009309/0.7618, allocations: 2.65 MB / 0.7272 GB, free: 80.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.7619, allocations: 0 / 0.7272 GB, free: 80.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006557/0.7685, allocations: 1.879 MB / 0.7291 GB, free: 79.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.77, allocations: 119.7 kB / 0.7292 GB, free: 79.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04655/0.8165, allocations: 18.99 MB / 0.7477 GB, free: 72.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.8171, allocations: 1.158 MB / 0.7489 GB, free: 70.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005742/0.8177, allocations: 120.5 kB / 0.749 GB, free: 70.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.8183, allocations: 0.5188 MB / 0.7495 GB, free: 70.29 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.8183, allocations: 0 / 0.7495 GB, free: 70.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06421/0.8825, allocations: 40.3 MB / 0.7888 GB, free: 30.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.17, allocations: 14.83 kB / 0.7889 GB, free: 30.06 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)