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.07517/0.07517, allocations: 12.37 MB / 31.2 MB, free: 24 kB / 19.63 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.001139/0.001139, allocations: 123.5 kB / 37.25 MB, free: 1.242 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.227/1.227, allocations: 207.6 MB / 250.8 MB, free: 7.367 MB / 190.1 MB " [Timeout remaining time 179] 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.001402/0.001402, allocations: 212.4 kB / 306.1 MB, free: 464 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.2916/0.2916, allocations: 79.73 MB / 440.9 MB, free: 12.44 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.003794/0.003794, allocations: 143.8 kB / 0.5875 GB, free: 7.602 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3063, allocations: 71.97 MB / 0.6578 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006935/0.3132, allocations: 7.604 MB / 0.6652 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.3171, allocations: 2.283 MB / 0.6675 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.3174, allocations: 12.12 kB / 0.6675 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.318, allocations: 294.8 kB / 0.6678 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.3205, allocations: 1.282 MB / 0.669 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3216, allocations: 0.5739 MB / 0.6696 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.3238, allocations: 2.027 MB / 0.6715 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.3241, allocations: 241.9 kB / 0.6718 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008651/0.325, allocations: 0.7974 MB / 0.6726 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.3262, allocations: 1.026 MB / 0.6736 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.3264, allocations: 146.2 kB / 0.6737 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006108/0.327, allocations: 381.8 kB / 0.6741 GB, free: 8.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.3273, allocations: 385.4 kB / 0.6744 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006797/0.328, allocations: 0.8082 MB / 0.6752 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.33, allocations: 2.039 MB / 0.6772 GB, free: 5.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.33, allocations: 0 / 0.6772 GB, free: 5.617 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.33, allocations: 0 / 0.6772 GB, free: 5.617 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.33, allocations: 1.281 kB / 0.6772 GB, free: 5.617 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.01342/0.3435, allocations: 3.838 MB / 0.681 GB, free: 3.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3435, allocations: 9.281 kB / 0.681 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.3437, allocations: 136.6 kB / 0.6811 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003988/0.3476, allocations: 0.7397 MB / 0.6818 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.3491, allocations: 0.9088 MB / 0.6827 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/0.3495, allocations: 465.5 kB / 0.6832 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3496, allocations: 100.9 kB / 0.6832 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.352, allocations: 1.279 MB / 0.6845 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.352, allocations: 9 kB / 0.6845 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-05/0.3521, allocations: 35.38 kB / 0.6845 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.3521, allocations: 20.34 kB / 0.6846 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.3545, allocations: 1.217 MB / 0.6857 GB, free: 0.5078 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.007278/0.3618, allocations: 4.373 MB / 0.69 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006864/0.3687, allocations: 2.114 MB / 0.6921 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3702, allocations: 0.7783 MB / 0.6928 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.3703, allocations: 17.86 kB / 0.6929 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3704, allocations: 44.09 kB / 0.6929 GB, free: 11.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.745e-06/0.3704, allocations: 0 / 0.6929 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04471/0.4151, allocations: 11.24 MB / 0.7039 GB, free: 2.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.4151, allocations: 86.11 kB / 0.704 GB, free: 2.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.4169, allocations: 1.195 MB / 0.7051 GB, free: 1.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.4171, allocations: 49.7 kB / 0.7052 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.4176, allocations: 0.5453 MB / 0.7057 GB, free: 1.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.418, allocations: 412.4 kB / 0.7061 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000498/0.4185, allocations: 287.5 kB / 0.7064 GB, free: 372 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4186, allocations: 309.1 kB / 0.7067 GB, free: 60 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4204, allocations: 0.8862 MB / 0.7075 GB, free: 15.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.4224, allocations: 1.076 MB / 0.7086 GB, free: 14.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/0.4261, allocations: 1.96 MB / 0.7105 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4261, allocations: 0 / 0.7105 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0163/0.4424, allocations: 5.278 MB / 0.7157 GB, free: 6.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4425, allocations: 8 kB / 0.7157 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4425, allocations: 11.88 kB / 0.7157 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008866/0.4513, allocations: 2.558 MB / 0.7182 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4525, allocations: 243.6 kB / 0.7184 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.4585, allocations: 2.746 MB / 0.7211 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4604, allocations: 218.8 kB / 0.7213 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.4605, allocations: 55.97 kB / 0.7213 GB, free: 0.8828 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.000505/0.461, allocations: 273.5 kB / 0.7216 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.4613, allocations: 143.1 kB / 0.7217 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.4768, allocations: 4.743 MB / 0.7264 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.4768, allocations: 12 kB / 0.7264 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4768, allocations: 3.984 kB / 0.7264 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4769, allocations: 7.922 kB / 0.7264 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.4947, allocations: 6.456 MB / 0.7327 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4947, allocations: 4 kB / 0.7327 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.4953, allocations: 107.8 kB / 0.7328 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007867/0.5032, allocations: 2.329 MB / 0.7351 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.5033, allocations: 24 kB / 0.7351 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02579/0.5291, allocations: 10.66 MB / 0.7455 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5291, allocations: 0 / 0.7455 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/0.5467, allocations: 5.903 MB / 0.7513 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.5473, allocations: 182.7 kB / 0.7515 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.5475, allocations: 20 kB / 0.7515 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.5488, allocations: 107.9 kB / 0.7516 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007007/0.5495, allocations: 249 kB / 0.7518 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.5496, allocations: 35.98 kB / 0.7519 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001103/0.5507, allocations: 0.7935 MB / 0.7526 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5507, allocations: 0 / 0.7526 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001296/0.552, allocations: 0.4996 MB / 0.7531 GB, free: 64 kB / 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.01803/0.57, allocations: 6.503 MB / 0.7595 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007611/0.5776, allocations: 2.495 MB / 0.7619 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5776, allocations: 0 / 0.7619 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005581/0.5832, allocations: 1.776 MB / 0.7636 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.5843, allocations: 124.7 kB / 0.7638 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04549/0.6298, allocations: 18.91 MB / 0.7822 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/0.6306, allocations: 1.162 MB / 0.7834 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004478/0.631, allocations: 120.5 kB / 0.7835 GB, free: 0.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/0.6317, allocations: 0.5227 MB / 0.784 GB, free: 148 kB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.6317, allocations: 0 / 0.784 GB, free: 148 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08185/0.7136, allocations: 41.85 MB / 0.8249 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.82, allocations: 15.59 kB / 0.8249 GB, free: 6.281 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: 17.77599752199967] Failed to read output from testmodel.py, exit status != 0: 14.94727180100017 14.96081161 14.62806533 Calling exit ...