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.08026/0.08026, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001122/0.001122, allocations: 111.4 kB / 31.84 MB, free: 3.895 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.249/1.249, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001389/0.001389, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4081/0.4081, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.003614/0.003614, allocations: 139.8 kB / 0.5554 GB, free: 28.87 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1066, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.008074/0.1147, allocations: 7.569 MB / 0.6293 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.119, allocations: 2.267 MB / 0.6315 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.1195, allocations: 12 kB / 0.6315 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.1201, allocations: 289.6 kB / 0.6318 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.1227, allocations: 1.203 MB / 0.633 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1239, allocations: 0.5841 MB / 0.6336 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.1262, allocations: 2.029 MB / 0.6355 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.1267, allocations: 345 kB / 0.6359 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009556/0.1277, allocations: 0.7742 MB / 0.6366 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.1289, allocations: 1.004 MB / 0.6376 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.1291, allocations: 151.9 kB / 0.6377 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.1298, allocations: 371.7 kB / 0.6381 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.1301, allocations: 402.4 kB / 0.6385 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007226/0.1309, allocations: 0.8002 MB / 0.6393 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.1331, allocations: 2.023 MB / 0.6412 GB, free: 12.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1331, allocations: 7.938 kB / 0.6412 GB, free: 12.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1331, allocations: 0 / 0.6412 GB, free: 12.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1332, allocations: 0 / 0.6412 GB, free: 12.03 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.01386/0.147, allocations: 3.92 MB / 0.6451 GB, free: 8.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1471, allocations: 15.97 kB / 0.6451 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.1473, allocations: 143.2 kB / 0.6452 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.1515, allocations: 0.7327 MB / 0.6459 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.153, allocations: 0.9792 MB / 0.6469 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.1534, allocations: 357.3 kB / 0.6472 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.1536, allocations: 103.9 kB / 0.6473 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.1561, allocations: 1.289 MB / 0.6486 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1562, allocations: 0 / 0.6486 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.1563, allocations: 32 kB / 0.6486 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.1563, allocations: 24 kB / 0.6487 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.159, allocations: 1.218 MB / 0.6498 GB, free: 3.043 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.007517/0.1665, allocations: 4.416 MB / 0.6542 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007822/0.1743, allocations: 2.523 MB / 0.6566 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.1761, allocations: 0.8498 MB / 0.6574 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.1762, allocations: 20.98 kB / 0.6575 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1763, allocations: 51.48 kB / 0.6575 GB, free: 10.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.796e-06/0.1763, allocations: 0 / 0.6575 GB, free: 10.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04787/0.2242, allocations: 11.36 MB / 0.6686 GB, free: 15.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.2243, allocations: 86.11 kB / 0.6687 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.2261, allocations: 1.188 MB / 0.6699 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.2263, allocations: 49.7 kB / 0.6699 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.2268, allocations: 0.5415 MB / 0.6704 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.2273, allocations: 424.4 kB / 0.6708 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/0.2278, allocations: 283.5 kB / 0.6711 GB, free: 12.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.228, allocations: 309.1 kB / 0.6714 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.2299, allocations: 0.8824 MB / 0.6723 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.2321, allocations: 1.076 MB / 0.6733 GB, free: 10.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.2361, allocations: 1.956 MB / 0.6752 GB, free: 8.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.2362, allocations: 4 kB / 0.6752 GB, free: 8.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0175/0.2537, allocations: 5.325 MB / 0.6804 GB, free: 3.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.2537, allocations: 14.95 kB / 0.6804 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2537, allocations: 7.938 kB / 0.6805 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009324/0.2631, allocations: 2.565 MB / 0.683 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.2642, allocations: 235.7 kB / 0.6832 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/0.2707, allocations: 2.744 MB / 0.6859 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.2725, allocations: 218.8 kB / 0.6861 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.2727, allocations: 55.98 kB / 0.6861 GB, free: 13.34 MB / 0.4981 GB 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.0004957/0.2732, allocations: 267.1 kB / 0.6864 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.2735, allocations: 147.1 kB / 0.6865 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.2898, allocations: 4.793 MB / 0.6912 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.2898, allocations: 8 kB / 0.6912 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.2899, allocations: 4 kB / 0.6912 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.2899, allocations: 3.984 kB / 0.6912 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/0.3087, allocations: 6.532 MB / 0.6976 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.3087, allocations: 0 / 0.6976 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.3093, allocations: 111.8 kB / 0.6977 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008496/0.3178, allocations: 2.321 MB / 0.7 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.318, allocations: 31.98 kB / 0.7 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/0.3457, allocations: 10.77 MB / 0.7105 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3457, allocations: 0 / 0.7105 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2235/0.5693, allocations: 5.951 MB / 0.7163 GB, free: 83.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.5697, allocations: 251.4 kB / 0.7166 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.5699, allocations: 21.47 kB / 0.7166 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.5712, allocations: 107.4 kB / 0.7167 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007733/0.572, allocations: 245.6 kB / 0.7169 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/0.5721, allocations: 30.64 kB / 0.7169 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001065/0.5732, allocations: 0.7963 MB / 0.7177 GB, free: 83.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5732, allocations: 0 / 0.7177 GB, free: 83.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001163/0.5744, allocations: 0.4942 MB / 0.7182 GB, free: 83.46 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.01822/0.5926, allocations: 6.54 MB / 0.7246 GB, free: 81.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007648/0.6003, allocations: 2.648 MB / 0.7272 GB, free: 80.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6003, allocations: 0 / 0.7272 GB, free: 80.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005586/0.6059, allocations: 1.878 MB / 0.729 GB, free: 80.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.6069, allocations: 121.8 kB / 0.7291 GB, free: 80.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03966/0.6465, allocations: 18.98 MB / 0.7477 GB, free: 72.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.647, allocations: 1.166 MB / 0.7488 GB, free: 71.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003857/0.6474, allocations: 112.5 kB / 0.7489 GB, free: 71.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.6479, allocations: 0.5188 MB / 0.7494 GB, free: 70.71 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.6479, allocations: 0 / 0.7494 GB, free: 70.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.709, allocations: 40.32 MB / 0.7888 GB, free: 30.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.86, allocations: 7.953 kB / 0.7888 GB, free: 30.48 MB / 0.5137 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)