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.005924/0.005924, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.348/1.348, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001403/0.001403, allocations: 192.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4672/0.4672, allocations: 78.53 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 87.81 kB / 0.5531 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.361, allocations: 68.17 MB / 0.6197 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006434/0.3675, allocations: 7.507 MB / 0.627 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004943/0.3725, allocations: 2.293 MB / 0.6293 GB, free: 332 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.3734, allocations: 12 kB / 0.6293 GB, free: 320 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.3741, allocations: 297.6 kB / 0.6296 GB, free: 20 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.3775, allocations: 1.275 MB / 0.6308 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3789, allocations: 0.5726 MB / 0.6314 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002659/0.3816, allocations: 2.019 MB / 0.6334 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.3822, allocations: 352.9 kB / 0.6337 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.3833, allocations: 0.7743 MB / 0.6345 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.3846, allocations: 1.015 MB / 0.6354 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.3848, allocations: 148 kB / 0.6356 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008026/0.3856, allocations: 371.7 kB / 0.6359 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.386, allocations: 394.4 kB / 0.6363 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007633/0.3868, allocations: 0.804 MB / 0.6371 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.3891, allocations: 2.028 MB / 0.6391 GB, free: 6.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3891, allocations: 4 kB / 0.6391 GB, free: 6.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3891, allocations: 0 / 0.6391 GB, free: 6.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.3892, allocations: 0 / 0.6391 GB, free: 6.25 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.0153/0.4045, allocations: 3.92 MB / 0.6429 GB, free: 2.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.4045, allocations: 12.03 kB / 0.6429 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.4047, allocations: 139.3 kB / 0.6431 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.4093, allocations: 0.7288 MB / 0.6438 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.411, allocations: 0.9869 MB / 0.6447 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000457/0.4115, allocations: 361.3 kB / 0.6451 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.4117, allocations: 92 kB / 0.6452 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.4144, allocations: 1.293 MB / 0.6464 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.4144, allocations: 0 / 0.6464 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.4145, allocations: 36 kB / 0.6465 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.4146, allocations: 23.94 kB / 0.6465 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.4172, allocations: 1.214 MB / 0.6477 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.008474/0.4257, allocations: 4.42 MB / 0.652 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007877/0.4336, allocations: 2.52 MB / 0.6544 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.4356, allocations: 0.8523 MB / 0.6553 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.4358, allocations: 20.97 kB / 0.6553 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4358, allocations: 43.56 kB / 0.6553 GB, free: 5.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 3.286e-06/0.4358, allocations: 4 kB / 0.6553 GB, free: 5.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.04912/0.485, allocations: 11.36 MB / 0.6664 GB, free: 9.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.4851, allocations: 94.11 kB / 0.6665 GB, free: 9.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.4869, allocations: 1.188 MB / 0.6677 GB, free: 8.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/0.4872, allocations: 53.7 kB / 0.6677 GB, free: 8.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.4876, allocations: 0.5414 MB / 0.6683 GB, free: 7.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.488, allocations: 428.3 kB / 0.6687 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/0.4886, allocations: 283.5 kB / 0.6689 GB, free: 7.078 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4887, allocations: 305.1 kB / 0.6692 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.4908, allocations: 0.8863 MB / 0.6701 GB, free: 5.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.4929, allocations: 1.069 MB / 0.6711 GB, free: 4.777 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.4969, allocations: 1.96 MB / 0.6731 GB, free: 2.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.497, allocations: 3.938 kB / 0.6731 GB, free: 2.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01819/0.5152, allocations: 5.329 MB / 0.6783 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5152, allocations: 8 kB / 0.6783 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.5152, allocations: 7.938 kB / 0.6783 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009586/0.5248, allocations: 2.561 MB / 0.6808 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.5261, allocations: 247.6 kB / 0.681 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.5326, allocations: 2.744 MB / 0.6837 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.5347, allocations: 210.9 kB / 0.6839 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.5349, allocations: 55.98 kB / 0.684 GB, free: 7.566 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.0006271/0.5355, allocations: 277.5 kB / 0.6842 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.536, allocations: 143.1 kB / 0.6844 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/0.5551, allocations: 4.782 MB / 0.689 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.5552, allocations: 12 kB / 0.689 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.5552, allocations: 4 kB / 0.689 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.008e-05/0.5553, allocations: 11.97 kB / 0.689 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02353/0.5788, allocations: 6.532 MB / 0.6954 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.5789, allocations: 0 / 0.6954 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.5796, allocations: 107.8 kB / 0.6955 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009832/0.5894, allocations: 2.329 MB / 0.6978 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.5897, allocations: 24 kB / 0.6978 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03197/0.6217, allocations: 10.77 MB / 0.7083 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6218, allocations: 0 / 0.7083 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/0.6434, allocations: 5.954 MB / 0.7142 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008065/0.6443, allocations: 251.8 kB / 0.7144 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/0.6448, allocations: 20 kB / 0.7144 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.6464, allocations: 115.9 kB / 0.7145 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000879/0.6473, allocations: 237.1 kB / 0.7148 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.6475, allocations: 31.98 kB / 0.7148 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001724/0.6492, allocations: 0.8013 MB / 0.7156 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6492, allocations: 3.938 kB / 0.7156 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001926/0.6511, allocations: 0.4917 MB / 0.716 GB, free: 6.348 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.02013/0.6713, allocations: 6.542 MB / 0.7224 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008696/0.68, allocations: 2.647 MB / 0.725 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6801, allocations: 0 / 0.725 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00638/0.6865, allocations: 1.87 MB / 0.7269 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.6883, allocations: 128.7 kB / 0.727 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04959/0.7379, allocations: 18.99 MB / 0.7455 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.7387, allocations: 1.155 MB / 0.7466 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005435/0.7393, allocations: 112.5 kB / 0.7467 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/0.7401, allocations: 0.5266 MB / 0.7473 GB, free: 6.082 MB / 0.545 GB Notification: Performance of SimCode: time 9.81e-07/0.7401, allocations: 0 / 0.7473 GB, free: 6.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/1.073, allocations: 40.27 MB / 0.7866 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.53, allocations: 10.53 kB / 0.7866 GB, free: 134.1 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)