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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08587/0.08587, allocations: 12.37 MB / 31.21 MB, free: 6.438 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 113 kB / 37.24 MB, free: 1.125 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 207.7 MB / 250.9 MB, free: 7.273 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 228.3 kB / 306.1 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3365/0.3365, allocations: 79.72 MB / 440.9 MB, free: 12.28 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/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"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004608/0.004608, allocations: 143.8 kB / 0.5875 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1383, allocations: 71.96 MB / 0.6578 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2604/0.3988, allocations: 6.603 MB / 0.6642 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.4036, allocations: 2.163 MB / 0.6663 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.4049, allocations: 13.69 kB / 0.6663 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008385/0.4057, allocations: 296 kB / 0.6666 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.4093, allocations: 1.245 MB / 0.6678 GB, free: 5.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.4108, allocations: 0.5777 MB / 0.6684 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.4138, allocations: 2.005 MB / 0.6704 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.4143, allocations: 250 kB / 0.6706 GB, free: 4.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.4157, allocations: 0.797 MB / 0.6714 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.417, allocations: 0.9256 MB / 0.6723 GB, free: 3.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.4173, allocations: 146 kB / 0.6724 GB, free: 3.566 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.418, allocations: 328.1 kB / 0.6727 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.4183, allocations: 394.4 kB / 0.6731 GB, free: 3.258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.4189, allocations: 0.6583 MB / 0.6738 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.4215, allocations: 2.047 MB / 0.6758 GB, free: 1.961 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4215, allocations: 0.75 kB / 0.6758 GB, free: 1.961 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4215, allocations: 4 kB / 0.6758 GB, free: 1.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.4215, allocations: 0 / 0.6758 GB, free: 1.957 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.01499/0.4365, allocations: 3.836 MB / 0.6795 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4366, allocations: 8.844 kB / 0.6795 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.4368, allocations: 143.2 kB / 0.6796 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.4413, allocations: 0.7259 MB / 0.6804 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.4434, allocations: 0.9157 MB / 0.6813 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005481/0.4439, allocations: 467.8 kB / 0.6817 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.4442, allocations: 100.1 kB / 0.6818 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.4471, allocations: 1.287 MB / 0.683 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4471, allocations: 0 / 0.683 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.4472, allocations: 35.12 kB / 0.6831 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.4472, allocations: 20.84 kB / 0.6831 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/0.4503, allocations: 1.211 MB / 0.6843 GB, free: 14.3 MB / 478.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.009943/0.4602, allocations: 3.357 MB / 0.6876 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/0.4681, allocations: 2.113 MB / 0.6896 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.4703, allocations: 0.7743 MB / 0.6904 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.4705, allocations: 13.25 kB / 0.6904 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.4705, allocations: 49.59 kB / 0.6904 GB, free: 10.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 4.207e-06/0.4705, allocations: 0 / 0.6904 GB, free: 10.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.05122/0.5217, allocations: 11.24 MB / 0.7014 GB, free: 5.266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.5218, allocations: 90.52 kB / 0.7015 GB, free: 5.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.5242, allocations: 1.196 MB / 0.7027 GB, free: 4.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004043/0.5246, allocations: 45.83 kB / 0.7027 GB, free: 4.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.5252, allocations: 0.5408 MB / 0.7032 GB, free: 3.973 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007868/0.526, allocations: 423.2 kB / 0.7037 GB, free: 3.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009321/0.527, allocations: 282.1 kB / 0.7039 GB, free: 3.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5271, allocations: 314.1 kB / 0.7042 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.5293, allocations: 0.888 MB / 0.7051 GB, free: 2.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.5318, allocations: 1.069 MB / 0.7061 GB, free: 1.777 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004604/0.5364, allocations: 1.964 MB / 0.708 GB, free: 15.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5364, allocations: 0 / 0.708 GB, free: 15.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01927/0.5556, allocations: 5.274 MB / 0.7132 GB, free: 10.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.5557, allocations: 16.25 kB / 0.7132 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5557, allocations: 4 kB / 0.7132 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.5661, allocations: 2.556 MB / 0.7157 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5675, allocations: 243.6 kB / 0.7159 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007935/0.5754, allocations: 2.743 MB / 0.7186 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.5779, allocations: 214.9 kB / 0.7188 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/0.5782, allocations: 51.98 kB / 0.7189 GB, free: 4.629 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.0008621/0.5791, allocations: 281.4 kB / 0.7191 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/0.5797, allocations: 144.8 kB / 0.7193 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.597, allocations: 4.744 MB / 0.7239 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.597, allocations: 12 kB / 0.7239 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.597, allocations: 0 / 0.7239 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/0.5971, allocations: 7.969 kB / 0.7239 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/0.6182, allocations: 5.893 MB / 0.7297 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6183, allocations: 0 / 0.7297 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/0.619, allocations: 104.8 kB / 0.7298 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009073/0.628, allocations: 2.327 MB / 0.7321 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/0.6283, allocations: 27.94 kB / 0.7321 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02948/0.6578, allocations: 10.39 MB / 0.7422 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6578, allocations: 4 kB / 0.7422 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/0.6776, allocations: 5.909 MB / 0.748 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.6784, allocations: 170.8 kB / 0.7482 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/0.6789, allocations: 20 kB / 0.7482 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.6807, allocations: 111.9 kB / 0.7483 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009284/0.6816, allocations: 253 kB / 0.7485 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.6818, allocations: 31.92 kB / 0.7486 GB, free: 6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001572/0.6833, allocations: 0.7974 MB / 0.7493 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6833, allocations: 0 / 0.7493 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002064/0.6854, allocations: 0.4918 MB / 0.7498 GB, free: 4.707 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.02011/0.7055, allocations: 6.504 MB / 0.7562 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009164/0.7147, allocations: 2.493 MB / 0.7586 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7147, allocations: 0 / 0.7586 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00646/0.7211, allocations: 1.791 MB / 0.7604 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.7228, allocations: 116.8 kB / 0.7605 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0538/0.7766, allocations: 18.9 MB / 0.7789 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/0.7774, allocations: 0.5739 MB / 0.7795 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006761/0.7781, allocations: 116.6 kB / 0.7796 GB, free: 5.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/0.7791, allocations: 0.5188 MB / 0.7801 GB, free: 5.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.863e-06/0.7791, allocations: 0 / 0.7801 GB, free: 5.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09098/0.8701, allocations: 41.62 MB / 0.8208 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.95, allocations: 7.891 kB / 0.8208 GB, free: 11.77 MB / 0.5919 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.355102939065546] Failed to read output from testmodel.py, exit status != 0: 15.089164804201573 15.113183693 14.687017429 Calling exit ...