Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_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.001222/0.001222, allocations: 108 kB / 15.61 MB, free: 152 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.367/1.367, allocations: 222.9 MB / 239.3 MB, free: 4.633 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.001554/0.001554, allocations: 195.6 kB / 289.6 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5143/0.5143, allocations: 91.9 MB / 431.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 75.88 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4186, allocations: 71.26 MB / 0.5716 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006597/0.4252, allocations: 7.531 MB / 0.5789 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.43, allocations: 2.285 MB / 0.5812 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.4312, allocations: 13.88 kB / 0.5812 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.4319, allocations: 298 kB / 0.5815 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.4344, allocations: 0.9983 MB / 0.5824 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4358, allocations: 0.6684 MB / 0.5831 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.4377, allocations: 1.855 MB / 0.5849 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.4382, allocations: 343.2 kB / 0.5852 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/0.4391, allocations: 0.7619 MB / 0.586 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008593/0.4399, allocations: 0.988 MB / 0.5869 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.4402, allocations: 145.6 kB / 0.5871 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.4409, allocations: 381.6 kB / 0.5874 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.4412, allocations: 385.9 kB / 0.5878 GB, free: 27.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.4418, allocations: 0.7953 MB / 0.5886 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.4439, allocations: 1.985 MB / 0.5905 GB, free: 25.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.444, allocations: 0 / 0.5905 GB, free: 25.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.444, allocations: 7.938 kB / 0.5905 GB, free: 25.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.444, allocations: 0.5625 kB / 0.5905 GB, free: 25.83 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.01318/0.4572, allocations: 3.53 MB / 0.594 GB, free: 24.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4573, allocations: 9.688 kB / 0.594 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.4574, allocations: 136.4 kB / 0.5941 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.4621, allocations: 0.7284 MB / 0.5948 GB, free: 24.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.464, allocations: 0.9731 MB / 0.5958 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.4643, allocations: 363.1 kB / 0.5961 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.4645, allocations: 94.12 kB / 0.5962 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.4673, allocations: 1.293 MB / 0.5975 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.4673, allocations: 0 / 0.5975 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.4674, allocations: 35.81 kB / 0.5975 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.4674, allocations: 19.69 kB / 0.5975 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.4703, allocations: 1.224 MB / 0.5987 GB, free: 22.22 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.009347/0.4797, allocations: 4.425 MB / 0.603 GB, free: 19.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.4881, allocations: 2.52 MB / 0.6055 GB, free: 18.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.4905, allocations: 0.8506 MB / 0.6063 GB, free: 18.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4906, allocations: 23.42 kB / 0.6064 GB, free: 18.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4907, allocations: 49.58 kB / 0.6064 GB, free: 18.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.757e-06/0.4907, allocations: 0 / 0.6064 GB, free: 18.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05169/0.5424, allocations: 11.35 MB / 0.6175 GB, free: 14.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.5425, allocations: 96.52 kB / 0.6176 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.5446, allocations: 1.182 MB / 0.6187 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/0.5451, allocations: 50.14 kB / 0.6188 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.5455, allocations: 0.5389 MB / 0.6193 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.546, allocations: 401.7 kB / 0.6197 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000526/0.5465, allocations: 288.7 kB / 0.62 GB, free: 12.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.5466, allocations: 305.1 kB / 0.6202 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.5483, allocations: 0.8863 MB / 0.6211 GB, free: 11.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.5501, allocations: 1.069 MB / 0.6222 GB, free: 10.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/0.5536, allocations: 1.96 MB / 0.6241 GB, free: 8.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5536, allocations: 0 / 0.6241 GB, free: 8.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01649/0.5701, allocations: 5.32 MB / 0.6293 GB, free: 2.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.5702, allocations: 8 kB / 0.6293 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.5702, allocations: 3.938 kB / 0.6293 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009373/0.5796, allocations: 2.565 MB / 0.6318 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5809, allocations: 243.6 kB / 0.632 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.5877, allocations: 2.752 MB / 0.6347 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.5902, allocations: 202.5 kB / 0.6349 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.5904, allocations: 63.97 kB / 0.635 GB, free: 13.11 MB / 446.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.0006738/0.5911, allocations: 277.4 kB / 0.6352 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.5914, allocations: 142.2 kB / 0.6354 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.6083, allocations: 4.77 MB / 0.64 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.6084, allocations: 15.94 kB / 0.64 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6084, allocations: 4 kB / 0.64 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-05/0.6085, allocations: 7.969 kB / 0.64 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.6284, allocations: 6.541 MB / 0.6464 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.6284, allocations: 4 kB / 0.6464 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.6292, allocations: 103.9 kB / 0.6465 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00869/0.6379, allocations: 2.337 MB / 0.6488 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.6381, allocations: 24 kB / 0.6488 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02828/0.6664, allocations: 10.77 MB / 0.6594 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6665, allocations: 7.938 kB / 0.6594 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/0.686, allocations: 5.932 MB / 0.6652 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/0.6868, allocations: 251 kB / 0.6654 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.6871, allocations: 23.98 kB / 0.6654 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.6886, allocations: 107.9 kB / 0.6655 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008754/0.6895, allocations: 241.1 kB / 0.6658 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/0.6896, allocations: 31.98 kB / 0.6658 GB, free: 13.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.6908, allocations: 0.7974 MB / 0.6666 GB, free: 12.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6908, allocations: 4 kB / 0.6666 GB, free: 12.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002304/0.6931, allocations: 499.5 kB / 0.667 GB, free: 11.91 MB / 478.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.02063/0.7137, allocations: 6.539 MB / 0.6734 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/0.7243, allocations: 2.667 MB / 0.676 GB, free: 2.652 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7243, allocations: 0 / 0.676 GB, free: 2.652 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006469/0.7308, allocations: 1.863 MB / 0.6779 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.7323, allocations: 118.6 kB / 0.678 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05253/0.7848, allocations: 19.85 MB / 0.6973 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/0.7857, allocations: 1.155 MB / 0.6985 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006674/0.7864, allocations: 116.5 kB / 0.6986 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/0.7871, allocations: 0.5227 MB / 0.6991 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.7871, allocations: 0 / 0.6991 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/0.8742, allocations: 39.85 MB / 0.738 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.37, allocations: 4.875 kB / 0.738 GB, free: 2.828 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)