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.08845/0.08845, allocations: 12.59 MB / 28.23 MB, free: 1.082 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.001142/0.001142, allocations: 115.4 kB / 31.84 MB, free: 4.023 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.403/1.403, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001597/0.001597, allocations: 195.8 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4573/0.4573, allocations: 78.51 MB / 419.3 MB, free: 10.78 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.002541/0.002541, allocations: 147.8 kB / 0.5554 GB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.127, allocations: 68.12 MB / 0.6219 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.008006/0.135, allocations: 7.563 MB / 0.6293 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.14, allocations: 2.267 MB / 0.6315 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.1413, allocations: 12 kB / 0.6315 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.1423, allocations: 293.6 kB / 0.6318 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.146, allocations: 1.265 MB / 0.633 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1476, allocations: 0.5799 MB / 0.6336 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.1504, allocations: 2.022 MB / 0.6356 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.151, allocations: 349 kB / 0.6359 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.1523, allocations: 0.7859 MB / 0.6367 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.1538, allocations: 1.008 MB / 0.6377 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.1542, allocations: 148 kB / 0.6378 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009217/0.1552, allocations: 367.8 kB / 0.6382 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.1557, allocations: 398.3 kB / 0.6385 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1567, allocations: 0.8041 MB / 0.6393 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.1592, allocations: 2.027 MB / 0.6413 GB, free: 9.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1592, allocations: 4 kB / 0.6413 GB, free: 9.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1592, allocations: 0 / 0.6413 GB, free: 9.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.607e-05/0.1593, allocations: 0 / 0.6413 GB, free: 9.715 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.01521/0.1745, allocations: 3.924 MB / 0.6451 GB, free: 5.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1746, allocations: 11.98 kB / 0.6452 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.1747, allocations: 143.3 kB / 0.6453 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.1792, allocations: 0.7288 MB / 0.646 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1808, allocations: 0.9752 MB / 0.647 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.1811, allocations: 369.2 kB / 0.6473 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.1814, allocations: 99.95 kB / 0.6474 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.1838, allocations: 1.289 MB / 0.6487 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.1839, allocations: 0 / 0.6487 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.184, allocations: 36 kB / 0.6487 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.184, allocations: 20 kB / 0.6487 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.1865, allocations: 1.218 MB / 0.6499 GB, free: 0.7266 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.00787/0.1944, allocations: 4.427 MB / 0.6542 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007636/0.2021, allocations: 2.519 MB / 0.6567 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.2039, allocations: 0.8537 MB / 0.6575 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.204, allocations: 20.97 kB / 0.6575 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.204, allocations: 47.56 kB / 0.6576 GB, free: 8.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 3.306e-06/0.204, allocations: 0 / 0.6576 GB, free: 8.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04918/0.2532, allocations: 11.36 MB / 0.6687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.2533, allocations: 86.11 kB / 0.6688 GB, free: 13.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.2553, allocations: 1.191 MB / 0.6699 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.2556, allocations: 45.7 kB / 0.67 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.2561, allocations: 0.5454 MB / 0.6705 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005867/0.2567, allocations: 428.3 kB / 0.6709 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007082/0.2574, allocations: 283.5 kB / 0.6712 GB, free: 10.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.2575, allocations: 309.1 kB / 0.6715 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.2595, allocations: 0.8863 MB / 0.6723 GB, free: 9.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.2616, allocations: 1.069 MB / 0.6734 GB, free: 8.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.2656, allocations: 1.953 MB / 0.6753 GB, free: 6.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.2657, allocations: 4 kB / 0.6753 GB, free: 6.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01776/0.2834, allocations: 5.325 MB / 0.6805 GB, free: 0.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.2835, allocations: 8 kB / 0.6805 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.2835, allocations: 7.938 kB / 0.6805 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3003/0.5838, allocations: 2.558 MB / 0.683 GB, free: 53.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5852, allocations: 242.5 kB / 0.6832 GB, free: 53.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.5921, allocations: 2.743 MB / 0.6859 GB, free: 52.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.5942, allocations: 213.6 kB / 0.6861 GB, free: 52.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5943, allocations: 58.62 kB / 0.6862 GB, free: 52.81 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.0005209/0.5949, allocations: 273.2 kB / 0.6864 GB, free: 52.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.5952, allocations: 151.1 kB / 0.6866 GB, free: 52.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/0.6128, allocations: 4.775 MB / 0.6912 GB, free: 52.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.6128, allocations: 15.5 kB / 0.6913 GB, free: 52.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6129, allocations: 1.625 kB / 0.6913 GB, free: 52.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.6129, allocations: 9.984 kB / 0.6913 GB, free: 52.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.6313, allocations: 6.533 MB / 0.6976 GB, free: 49.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.6314, allocations: 1.844 kB / 0.6976 GB, free: 49.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.632, allocations: 110.3 kB / 0.6978 GB, free: 49.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008214/0.6402, allocations: 2.334 MB / 0.7 GB, free: 49.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.6404, allocations: 21.55 kB / 0.7001 GB, free: 49.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02453/0.665, allocations: 10.76 MB / 0.7106 GB, free: 43.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.665, allocations: 0 / 0.7106 GB, free: 43.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.6819, allocations: 5.951 MB / 0.7164 GB, free: 39.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.6824, allocations: 262.8 kB / 0.7166 GB, free: 39.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.6826, allocations: 16 kB / 0.7166 GB, free: 39.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.684, allocations: 114.8 kB / 0.7167 GB, free: 39.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000672/0.6847, allocations: 249 kB / 0.717 GB, free: 38.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.6848, allocations: 28 kB / 0.717 GB, free: 38.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008822/0.6856, allocations: 0.7987 MB / 0.7178 GB, free: 37.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6856, allocations: 0 / 0.7178 GB, free: 37.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001228/0.6869, allocations: 498.5 kB / 0.7183 GB, free: 37.51 MB / 494.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.01679/0.7037, allocations: 6.55 MB / 0.7247 GB, free: 30.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007332/0.711, allocations: 2.646 MB / 0.7272 GB, free: 28.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7111, allocations: 6.281 kB / 0.7273 GB, free: 28.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005393/0.7165, allocations: 1.871 MB / 0.7291 GB, free: 26.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.7175, allocations: 116.8 kB / 0.7292 GB, free: 26.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04175/0.7593, allocations: 18.99 MB / 0.7477 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.7598, allocations: 1.162 MB / 0.7489 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005129/0.7603, allocations: 112.5 kB / 0.749 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/0.7609, allocations: 0.5227 MB / 0.7495 GB, free: 5.309 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7609, allocations: 0 / 0.7495 GB, free: 5.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07754/0.8384, allocations: 40.3 MB / 0.7888 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.41, allocations: 8 kB / 0.7889 GB, free: 13.08 MB / 0.5294 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)