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.0883/0.0883, allocations: 12.6 MB / 28.1 MB, free: 260 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.5 kB / 31.7 MB, free: 3.488 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.377/1.377, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001421/0.001421, allocations: 188.5 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4627/0.4627, allocations: 78.51 MB / 419.2 MB, free: 11.33 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.002827/0.002828, allocations: 139.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2845, allocations: 68.1 MB / 0.5547 GB, free: 32.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006985/0.2915, allocations: 7.566 MB / 0.5621 GB, free: 26.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.296, allocations: 2.255 MB / 0.5643 GB, free: 25.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.2971, allocations: 12.31 kB / 0.5643 GB, free: 25.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.2978, allocations: 301.1 kB / 0.5646 GB, free: 24.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.3007, allocations: 1.208 MB / 0.5657 GB, free: 24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3019, allocations: 0.5965 MB / 0.5663 GB, free: 23.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.3041, allocations: 2.001 MB / 0.5683 GB, free: 22.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.3046, allocations: 347 kB / 0.5686 GB, free: 22.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008776/0.3054, allocations: 0.771 MB / 0.5694 GB, free: 21.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008629/0.3063, allocations: 1.015 MB / 0.5704 GB, free: 21.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.3066, allocations: 150.5 kB / 0.5705 GB, free: 21.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000706/0.3073, allocations: 372.8 kB / 0.5709 GB, free: 20.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3075, allocations: 396.9 kB / 0.5712 GB, free: 20.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.3081, allocations: 0.803 MB / 0.572 GB, free: 19.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3097, allocations: 1.999 MB / 0.574 GB, free: 18.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3098, allocations: 0 / 0.574 GB, free: 18.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3098, allocations: 1.125 kB / 0.574 GB, free: 18.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.3098, allocations: 0 / 0.574 GB, free: 18.49 MB / 398.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.01428/0.3241, allocations: 3.874 MB / 0.5778 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3241, allocations: 11.98 kB / 0.5778 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.3243, allocations: 139.3 kB / 0.5779 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.3286, allocations: 0.7238 MB / 0.5786 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.3301, allocations: 0.9742 MB / 0.5796 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.3304, allocations: 361.3 kB / 0.5799 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.3306, allocations: 99.98 kB / 0.58 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.3328, allocations: 1.289 MB / 0.5813 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3328, allocations: 0 / 0.5813 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3329, allocations: 36 kB / 0.5813 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3329, allocations: 20 kB / 0.5813 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.3352, allocations: 1.214 MB / 0.5825 GB, free: 10.8 MB / 398.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.006858/0.342, allocations: 4.446 MB / 0.5868 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/0.3489, allocations: 2.523 MB / 0.5893 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.3505, allocations: 0.8484 MB / 0.5901 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3506, allocations: 20.98 kB / 0.5901 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3506, allocations: 47.55 kB / 0.5902 GB, free: 2.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 3.015e-06/0.3506, allocations: 0 / 0.5902 GB, free: 2.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04659/0.3972, allocations: 11.34 MB / 0.6013 GB, free: 7.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.3974, allocations: 90.11 kB / 0.6014 GB, free: 7.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.3992, allocations: 1.184 MB / 0.6025 GB, free: 5.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.3995, allocations: 49.7 kB / 0.6026 GB, free: 5.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.3999, allocations: 0.5407 MB / 0.6031 GB, free: 5.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/0.4004, allocations: 402.2 kB / 0.6035 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005264/0.401, allocations: 291.4 kB / 0.6037 GB, free: 4.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.4011, allocations: 305.1 kB / 0.604 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.4029, allocations: 0.8824 MB / 0.6049 GB, free: 3.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.405, allocations: 1.076 MB / 0.606 GB, free: 2.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/0.4088, allocations: 1.956 MB / 0.6079 GB, free: 320 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4088, allocations: 4 kB / 0.6079 GB, free: 316 kB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01781/0.4267, allocations: 5.312 MB / 0.6131 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.4267, allocations: 8 kB / 0.6131 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.4267, allocations: 7.938 kB / 0.6131 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00943/0.4362, allocations: 2.572 MB / 0.6156 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.4375, allocations: 243.6 kB / 0.6158 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006376/0.4439, allocations: 2.74 MB / 0.6185 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.4461, allocations: 210.5 kB / 0.6187 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.4463, allocations: 55.92 kB / 0.6187 GB, free: 5.121 MB / 430.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.0005461/0.4468, allocations: 269.5 kB / 0.619 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.4471, allocations: 142.2 kB / 0.6191 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.4632, allocations: 4.786 MB / 0.6238 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.4633, allocations: 12 kB / 0.6238 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4633, allocations: 0 / 0.6238 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.4633, allocations: 7.984 kB / 0.6238 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.4819, allocations: 6.533 MB / 0.6302 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.4819, allocations: 4 kB / 0.6302 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.4826, allocations: 111.8 kB / 0.6303 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008709/0.4913, allocations: 2.337 MB / 0.6326 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002969/0.4917, allocations: 27.98 kB / 0.6326 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02797/0.5197, allocations: 10.76 MB / 0.6431 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5197, allocations: 0 / 0.6431 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/0.5389, allocations: 5.951 MB / 0.6489 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.5396, allocations: 239 kB / 0.6492 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/0.5402, allocations: 24 kB / 0.6492 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.5419, allocations: 107.9 kB / 0.6493 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/0.5429, allocations: 245.1 kB / 0.6495 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.5431, allocations: 28 kB / 0.6496 GB, free: 5.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.5445, allocations: 0.8052 MB / 0.6504 GB, free: 4.414 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5446, allocations: 0 / 0.6504 GB, free: 4.414 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001894/0.5465, allocations: 499.5 kB / 0.6508 GB, free: 3.926 MB / 462.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.01933/0.5658, allocations: 6.53 MB / 0.6572 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008946/0.5748, allocations: 2.667 MB / 0.6598 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5748, allocations: 4.062 kB / 0.6598 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006433/0.5813, allocations: 1.875 MB / 0.6616 GB, free: 8.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.583, allocations: 120.8 kB / 0.6618 GB, free: 8.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05257/0.6356, allocations: 19.83 MB / 0.6811 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.6367, allocations: 1.155 MB / 0.6823 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006716/0.6374, allocations: 116.5 kB / 0.6824 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009256/0.6383, allocations: 0.5188 MB / 0.6829 GB, free: 2.574 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6383, allocations: 0 / 0.6829 GB, free: 2.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/0.9304, allocations: 39.85 MB / 0.7218 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.58, allocations: 0 / 0.7218 GB, free: 128.2 MB / 0.4981 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)