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.006539/0.006539, allocations: 101.7 kB / 15.73 MB, free: 6.055 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.515/1.515, allocations: 222.9 MB / 239.4 MB, free: 4.395 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.002041/0.002041, allocations: 188.5 kB / 289.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5565/0.5565, allocations: 78.54 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 91.86 kB / 0.5531 GB, free: 1.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.458, allocations: 68.17 MB / 0.6197 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006733/0.4648, allocations: 7.513 MB / 0.6271 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.4695, allocations: 2.282 MB / 0.6293 GB, free: 284 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.471, allocations: 12 kB / 0.6293 GB, free: 272 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.4719, allocations: 293.7 kB / 0.6296 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.4764, allocations: 1.214 MB / 0.6308 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.4783, allocations: 0.5812 MB / 0.6313 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.4819, allocations: 2.022 MB / 0.6333 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.4827, allocations: 341 kB / 0.6336 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.4841, allocations: 0.7821 MB / 0.6344 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.4858, allocations: 1.008 MB / 0.6354 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003679/0.4862, allocations: 148 kB / 0.6355 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.4872, allocations: 367.8 kB / 0.6359 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.4876, allocations: 402.4 kB / 0.6363 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009855/0.4886, allocations: 0.7963 MB / 0.637 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.4919, allocations: 2.039 MB / 0.639 GB, free: 6.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4919, allocations: 0 / 0.639 GB, free: 6.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4919, allocations: 0 / 0.639 GB, free: 6.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.728e-05/0.492, allocations: 0 / 0.639 GB, free: 6.266 MB / 446.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.0161/0.5081, allocations: 3.92 MB / 0.6429 GB, free: 2.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5081, allocations: 8.031 kB / 0.6429 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.5084, allocations: 143.3 kB / 0.643 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.5132, allocations: 0.7288 MB / 0.6437 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.5155, allocations: 0.9868 MB / 0.6447 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005294/0.5161, allocations: 361.3 kB / 0.645 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.5164, allocations: 96 kB / 0.6451 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.5194, allocations: 1.293 MB / 0.6464 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.5194, allocations: 0 / 0.6464 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.5196, allocations: 32 kB / 0.6464 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.5196, allocations: 20 kB / 0.6464 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.5225, allocations: 1.23 MB / 0.6476 GB, free: 13.27 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.01032/0.5329, allocations: 4.416 MB / 0.6519 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008384/0.5413, allocations: 2.512 MB / 0.6544 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.5437, allocations: 0.8562 MB / 0.6552 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.5439, allocations: 20.97 kB / 0.6552 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.5439, allocations: 55.44 kB / 0.6553 GB, free: 5.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 4.689e-06/0.5439, allocations: 0 / 0.6553 GB, free: 5.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.05276/0.5967, allocations: 11.36 MB / 0.6664 GB, free: 9.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.5969, allocations: 90.11 kB / 0.6665 GB, free: 9.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/0.5995, allocations: 1.184 MB / 0.6676 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004229/0.5999, allocations: 45.7 kB / 0.6677 GB, free: 8.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/0.6006, allocations: 0.5492 MB / 0.6682 GB, free: 7.793 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008762/0.6015, allocations: 424.3 kB / 0.6686 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.6026, allocations: 279.5 kB / 0.6689 GB, free: 7.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6028, allocations: 313.1 kB / 0.6692 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.6053, allocations: 0.8824 MB / 0.67 GB, free: 5.906 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.608, allocations: 1.069 MB / 0.6711 GB, free: 4.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004823/0.6129, allocations: 1.956 MB / 0.673 GB, free: 2.789 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/0.6129, allocations: 4 kB / 0.673 GB, free: 2.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.02012/0.633, allocations: 5.332 MB / 0.6782 GB, free: 13.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.6331, allocations: 8 kB / 0.6782 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.6331, allocations: 7.938 kB / 0.6782 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.644, allocations: 2.565 MB / 0.6807 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.6455, allocations: 235.7 kB / 0.681 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007914/0.6534, allocations: 2.752 MB / 0.6836 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.656, allocations: 210.9 kB / 0.6838 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.6564, allocations: 51.98 kB / 0.6839 GB, free: 7.586 MB / 494.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.001017/0.6575, allocations: 273.5 kB / 0.6842 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006845/0.6582, allocations: 143.1 kB / 0.6843 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/0.6765, allocations: 4.797 MB / 0.689 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.6766, allocations: 12 kB / 0.689 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6766, allocations: 0 / 0.689 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.6767, allocations: 7.969 kB / 0.689 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/0.6998, allocations: 6.528 MB / 0.6954 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.6999, allocations: 0 / 0.6954 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.7006, allocations: 107.9 kB / 0.6955 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009519/0.7102, allocations: 2.333 MB / 0.6977 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/0.7106, allocations: 23.94 kB / 0.6978 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03259/0.7432, allocations: 10.77 MB / 0.7083 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7432, allocations: 0 / 0.7083 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/0.7647, allocations: 5.954 MB / 0.7141 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.7654, allocations: 243.9 kB / 0.7143 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/0.766, allocations: 27.98 kB / 0.7144 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.7678, allocations: 107.9 kB / 0.7145 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/0.7689, allocations: 237.1 kB / 0.7147 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/0.7691, allocations: 35.92 kB / 0.7147 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001649/0.7708, allocations: 0.7974 MB / 0.7155 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.038e-06/0.7708, allocations: 3.938 kB / 0.7155 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002492/0.7733, allocations: 0.5034 MB / 0.716 GB, free: 6.352 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.02169/0.795, allocations: 6.538 MB / 0.7224 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.8053, allocations: 2.643 MB / 0.725 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.8053, allocations: 4 kB / 0.725 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007243/0.8126, allocations: 1.87 MB / 0.7268 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.8148, allocations: 116.7 kB / 0.7269 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05955/0.8744, allocations: 19 MB / 0.7455 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.8757, allocations: 1.151 MB / 0.7466 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006546/0.8764, allocations: 120.5 kB / 0.7467 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.8774, allocations: 0.5149 MB / 0.7472 GB, free: 6.098 MB / 0.545 GB Notification: Performance of SimCode: time 9.91e-07/0.8774, allocations: 0 / 0.7472 GB, free: 6.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4443/1.322, allocations: 40.28 MB / 0.7865 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.53, allocations: 12.08 kB / 0.7866 GB, free: 134.8 MB / 0.5606 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)