Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239 MB, free: 4.691 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 188.5 kB / 289.2 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4462/0.4462, allocations: 78.52 MB / 417.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.89 kB / 497 MB, free: 6.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 68.18 MB / 0.552 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2183/0.3432, allocations: 7.877 MB / 0.5597 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00476/0.3481, allocations: 2.337 MB / 0.5619 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.3496, allocations: 17.72 kB / 0.562 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3507, allocations: 229.4 kB / 0.5622 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.3542, allocations: 1.081 MB / 0.5632 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.3556, allocations: 0.5401 MB / 0.5638 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3581, allocations: 2.012 MB / 0.5657 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006449/0.3588, allocations: 337.5 kB / 0.566 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.3599, allocations: 0.7825 MB / 0.5668 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.3612, allocations: 1.008 MB / 0.5678 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.3618, allocations: 147 kB / 0.5679 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3628, allocations: 382.6 kB / 0.5683 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.3633, allocations: 391.5 kB / 0.5687 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.3644, allocations: 0.8103 MB / 0.5695 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.3668, allocations: 1.997 MB / 0.5714 GB, free: 32.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3668, allocations: 1.625 kB / 0.5714 GB, free: 32.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3668, allocations: 2.844 kB / 0.5714 GB, free: 32.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.611e-05/0.3669, allocations: 0 / 0.5714 GB, free: 32.64 MB / 430.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.01472/0.3816, allocations: 3.872 MB / 0.5752 GB, free: 31.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3817, allocations: 11.56 kB / 0.5752 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004291/0.3821, allocations: 136.2 kB / 0.5753 GB, free: 31.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/0.3868, allocations: 0.7269 MB / 0.576 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.3887, allocations: 0.9742 MB / 0.577 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.3891, allocations: 371.4 kB / 0.5774 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.3894, allocations: 97.11 kB / 0.5774 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.3922, allocations: 1.282 MB / 0.5787 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3922, allocations: 0 / 0.5787 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.3923, allocations: 35.34 kB / 0.5787 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3924, allocations: 20.97 kB / 0.5787 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.3947, allocations: 1.225 MB / 0.5799 GB, free: 30.17 MB / 430.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.00776/0.4025, allocations: 4.435 MB / 0.5843 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007332/0.4099, allocations: 2.512 MB / 0.5867 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.4117, allocations: 0.8461 MB / 0.5876 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.4119, allocations: 29.39 kB / 0.5876 GB, free: 26.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.412, allocations: 47.94 kB / 0.5876 GB, free: 26.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.216e-06/0.412, allocations: 0 / 0.5876 GB, free: 26.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04976/0.4618, allocations: 11.35 MB / 0.5987 GB, free: 24.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.4619, allocations: 90.06 kB / 0.5988 GB, free: 24.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.464, allocations: 1.182 MB / 0.6 GB, free: 24.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000344/0.4644, allocations: 51.8 kB / 0.6 GB, free: 24.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.4649, allocations: 0.5359 MB / 0.6005 GB, free: 23.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/0.4655, allocations: 406.3 kB / 0.6009 GB, free: 23.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009874/0.4665, allocations: 293.6 kB / 0.6012 GB, free: 23.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.4665, allocations: 306 kB / 0.6015 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.4686, allocations: 0.8908 MB / 0.6024 GB, free: 22.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.4706, allocations: 1.069 MB / 0.6034 GB, free: 21.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.4744, allocations: 1.956 MB / 0.6053 GB, free: 20.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.4745, allocations: 5.062 kB / 0.6053 GB, free: 20.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01685/0.4913, allocations: 5.309 MB / 0.6105 GB, free: 18.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.4914, allocations: 6.094 kB / 0.6105 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4914, allocations: 11.05 kB / 0.6105 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009093/0.5005, allocations: 2.575 MB / 0.613 GB, free: 16.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.5018, allocations: 231.7 kB / 0.6133 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.5074, allocations: 2.744 MB / 0.6159 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.5096, allocations: 214.5 kB / 0.6161 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.5099, allocations: 55.98 kB / 0.6162 GB, free: 13.32 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.0006652/0.5105, allocations: 269.5 kB / 0.6164 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.511, allocations: 142.2 kB / 0.6166 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.5255, allocations: 4.788 MB / 0.6213 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.5256, allocations: 12 kB / 0.6213 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.5256, allocations: 0 / 0.6213 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.5256, allocations: 6.047 kB / 0.6213 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.5427, allocations: 6.537 MB / 0.6277 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.5428, allocations: 0 / 0.6277 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/0.5435, allocations: 107.9 kB / 0.6278 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008/0.5515, allocations: 2.342 MB / 0.6301 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/0.5518, allocations: 20.48 kB / 0.6301 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02738/0.5792, allocations: 10.76 MB / 0.6406 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5792, allocations: 0.625 kB / 0.6406 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/0.5977, allocations: 5.944 MB / 0.6464 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.5984, allocations: 247.9 kB / 0.6466 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/0.5989, allocations: 19.94 kB / 0.6466 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.6006, allocations: 111.9 kB / 0.6467 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009754/0.6016, allocations: 249 kB / 0.647 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.6018, allocations: 33.12 kB / 0.647 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.6032, allocations: 0.7935 MB / 0.6478 GB, free: 12.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6032, allocations: 0 / 0.6478 GB, free: 12.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001869/0.6051, allocations: 0.4994 MB / 0.6483 GB, free: 12.12 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.01866/0.6238, allocations: 6.534 MB / 0.6547 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008783/0.6326, allocations: 2.671 MB / 0.6573 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6327, allocations: 0 / 0.6573 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006081/0.6388, allocations: 1.855 MB / 0.6591 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.6406, allocations: 122 kB / 0.6592 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05263/0.6932, allocations: 20.29 MB / 0.679 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000903/0.6942, allocations: 1.155 MB / 0.6801 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.6948, allocations: 115.8 kB / 0.6802 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/0.6957, allocations: 0.5237 MB / 0.6808 GB, free: 10.38 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6957, allocations: 0 / 0.6808 GB, free: 10.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06511/0.7608, allocations: 38.55 MB / 0.7184 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.7611, allocations: 231.1 kB / 0.7186 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.499, allocations: 0 / 0.7186 GB, free: 3.91 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)