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.00179/0.00179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.3 MB, free: 4.578 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.00165/0.00165, allocations: 196.5 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4925/0.4925, allocations: 78.54 MB / 418.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 79.88 kB / 497.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1633, allocations: 68.18 MB / 0.5525 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2766/0.4399, allocations: 7.498 MB / 0.5598 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.4452, allocations: 2.287 MB / 0.562 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.4467, allocations: 13.44 kB / 0.562 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.4476, allocations: 298 kB / 0.5623 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.451, allocations: 1.208 MB / 0.5635 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.4525, allocations: 0.5818 MB / 0.5641 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.4552, allocations: 2.011 MB / 0.566 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005413/0.4557, allocations: 337.8 kB / 0.5664 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.4569, allocations: 0.7781 MB / 0.5671 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.4579, allocations: 1.012 MB / 0.5681 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.4582, allocations: 148.2 kB / 0.5682 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007468/0.4589, allocations: 371.9 kB / 0.5686 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.4592, allocations: 395.8 kB / 0.569 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006417/0.4599, allocations: 0.8003 MB / 0.5698 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.4619, allocations: 2.003 MB / 0.5717 GB, free: 32.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4619, allocations: 0 / 0.5717 GB, free: 32.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4619, allocations: 2.406 kB / 0.5717 GB, free: 32.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.462, allocations: 4.688 kB / 0.5717 GB, free: 32.6 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.01479/0.4768, allocations: 3.872 MB / 0.5755 GB, free: 31.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4768, allocations: 9.344 kB / 0.5755 GB, free: 31.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.477, allocations: 140.7 kB / 0.5757 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.4815, allocations: 0.7244 MB / 0.5764 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.4832, allocations: 0.9765 MB / 0.5773 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.4836, allocations: 361.2 kB / 0.5777 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.4838, allocations: 98.84 kB / 0.5778 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.4862, allocations: 1.287 MB / 0.579 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.4863, allocations: 0 / 0.579 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.4864, allocations: 36.22 kB / 0.579 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.4864, allocations: 19.31 kB / 0.5791 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.4888, allocations: 1.223 MB / 0.5803 GB, free: 30.18 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.008967/0.4978, allocations: 4.429 MB / 0.5846 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/0.5056, allocations: 2.522 MB / 0.587 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.5078, allocations: 0.8483 MB / 0.5879 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.508, allocations: 20.8 kB / 0.5879 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.508, allocations: 51.22 kB / 0.5879 GB, free: 26.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.379e-06/0.508, allocations: 3.938 kB / 0.5879 GB, free: 26.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05218/0.5602, allocations: 11.35 MB / 0.599 GB, free: 24.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.5603, allocations: 89.05 kB / 0.5991 GB, free: 24.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.5627, allocations: 1.186 MB / 0.6003 GB, free: 24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004502/0.5631, allocations: 50.17 kB / 0.6003 GB, free: 23.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.5635, allocations: 0.5363 MB / 0.6008 GB, free: 23.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.564, allocations: 405.5 kB / 0.6012 GB, free: 23.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000597/0.5646, allocations: 288.5 kB / 0.6015 GB, free: 22.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.5647, allocations: 309.1 kB / 0.6018 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.5668, allocations: 0.8833 MB / 0.6027 GB, free: 22.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.5691, allocations: 1.073 MB / 0.6037 GB, free: 21.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0042/0.5733, allocations: 1.956 MB / 0.6056 GB, free: 20.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5733, allocations: 1.656 kB / 0.6056 GB, free: 20.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0179/0.5912, allocations: 5.317 MB / 0.6108 GB, free: 17.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.5913, allocations: 5.5 kB / 0.6108 GB, free: 17.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5913, allocations: 8.062 kB / 0.6108 GB, free: 17.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009647/0.601, allocations: 2.569 MB / 0.6133 GB, free: 16.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.6023, allocations: 244.2 kB / 0.6136 GB, free: 16.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.6085, allocations: 2.744 MB / 0.6163 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.611, allocations: 210.5 kB / 0.6165 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.6114, allocations: 55.98 kB / 0.6165 GB, free: 13.2 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.000793/0.6122, allocations: 279 kB / 0.6168 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/0.6127, allocations: 138.2 kB / 0.6169 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/0.628, allocations: 4.774 MB / 0.6216 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.6281, allocations: 12.75 kB / 0.6216 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.6281, allocations: 0 / 0.6216 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.432e-05/0.6282, allocations: 11.97 kB / 0.6216 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.6471, allocations: 6.538 MB / 0.628 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.6471, allocations: 0 / 0.628 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.6479, allocations: 107.8 kB / 0.6281 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008708/0.6566, allocations: 2.338 MB / 0.6304 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003363/0.657, allocations: 21.06 kB / 0.6304 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02938/0.6864, allocations: 10.76 MB / 0.6409 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6865, allocations: 0.7031 kB / 0.6409 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/0.7063, allocations: 5.951 MB / 0.6467 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/0.7071, allocations: 247 kB / 0.6469 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006152/0.7077, allocations: 16 kB / 0.647 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/0.7096, allocations: 112.7 kB / 0.6471 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/0.7107, allocations: 243.6 kB / 0.6473 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.7109, allocations: 31.98 kB / 0.6473 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.7125, allocations: 0.8013 MB / 0.6481 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7125, allocations: 0 / 0.6481 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002391/0.7149, allocations: 0.4955 MB / 0.6486 GB, free: 12 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.02069/0.7356, allocations: 6.538 MB / 0.655 GB, free: 5.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009632/0.7453, allocations: 2.667 MB / 0.6576 GB, free: 2.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.7454, allocations: 256 / 0.6576 GB, free: 2.762 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006553/0.7519, allocations: 1.865 MB / 0.6594 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.7539, allocations: 116.8 kB / 0.6595 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05477/0.8087, allocations: 19.84 MB / 0.6789 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.8098, allocations: 1.155 MB / 0.68 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007442/0.8106, allocations: 117.9 kB / 0.6801 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.8116, allocations: 0.5227 MB / 0.6806 GB, free: 10.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.8117, allocations: 0 / 0.6806 GB, free: 10.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08648/0.8981, allocations: 39.82 MB / 0.7195 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.93, allocations: 17.42 kB / 0.7195 GB, free: 3.191 MB / 0.5137 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 & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)