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.001004/0.001004, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.33/1.33, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001236/0.001236, allocations: 197 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4898/0.4898, allocations: 78.52 MB / 419.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004195, allocations: 11.98 kB / 499.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 69.36 MB / 0.5558 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2308/0.3642, allocations: 6.545 MB / 0.5622 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.3686, allocations: 2.259 MB / 0.5644 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3698, allocations: 14.31 kB / 0.5644 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.3704, allocations: 204.4 kB / 0.5646 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.3736, allocations: 1.085 MB / 0.5656 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.375, allocations: 0.5048 MB / 0.5661 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.3773, allocations: 1.302 MB / 0.5674 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.3778, allocations: 288.9 kB / 0.5677 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009849/0.3788, allocations: 0.6586 MB / 0.5683 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009337/0.3797, allocations: 0.8913 MB / 0.5692 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3799, allocations: 81.47 kB / 0.5693 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.3806, allocations: 279.3 kB / 0.5695 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.3809, allocations: 313.8 kB / 0.5698 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3811, allocations: 259.1 kB / 0.5701 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3823, allocations: 1.433 MB / 0.5715 GB, free: 35.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3823, allocations: 0 / 0.5715 GB, free: 35.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3823, allocations: 1.969 kB / 0.5715 GB, free: 35.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.3824, allocations: 0 / 0.5715 GB, free: 35.28 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.01393/0.3963, allocations: 3.707 MB / 0.5751 GB, free: 34.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.3964, allocations: 8.969 kB / 0.5751 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005912/0.397, allocations: 144.7 kB / 0.5752 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.4017, allocations: 0.7276 MB / 0.576 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.4034, allocations: 0.9321 MB / 0.5769 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.4037, allocations: 368.7 kB / 0.5772 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.4039, allocations: 95.5 kB / 0.5773 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.4062, allocations: 1.35 MB / 0.5786 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4062, allocations: 0 / 0.5786 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.4063, allocations: 40.56 kB / 0.5787 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.4063, allocations: 24.14 kB / 0.5787 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.4086, allocations: 1.305 MB / 0.58 GB, free: 31.88 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.007067/0.4157, allocations: 4.611 MB / 0.5845 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/0.4238, allocations: 3.081 MB / 0.5875 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.424, allocations: 16.08 kB / 0.5875 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4241, allocations: 51.64 kB / 0.5875 GB, free: 28.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 2.915e-06/0.4241, allocations: 4 kB / 0.5875 GB, free: 28.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05376/0.4778, allocations: 13.76 MB / 0.601 GB, free: 26.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.4779, allocations: 89.64 kB / 0.6011 GB, free: 26.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.4805, allocations: 1.172 MB / 0.6022 GB, free: 25.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/0.4809, allocations: 51.42 kB / 0.6023 GB, free: 25.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.4814, allocations: 0.5401 MB / 0.6028 GB, free: 25.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/0.482, allocations: 405.9 kB / 0.6032 GB, free: 24.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.4823, allocations: 31.22 kB / 0.6032 GB, free: 24.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4824, allocations: 366.6 kB / 0.6035 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.4847, allocations: 0.9648 MB / 0.6045 GB, free: 24.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.4871, allocations: 1.14 MB / 0.6056 GB, free: 23.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.4894, allocations: 1.033 MB / 0.6066 GB, free: 23.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.4894, allocations: 1 kB / 0.6066 GB, free: 23.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01142/0.5009, allocations: 4.171 MB / 0.6107 GB, free: 21.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.5009, allocations: 10.17 kB / 0.6107 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.501, allocations: 3.344 kB / 0.6107 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009497/0.5105, allocations: 2.946 MB / 0.6136 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.5118, allocations: 235.7 kB / 0.6138 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006488/0.5183, allocations: 3.063 MB / 0.6168 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.5207, allocations: 258.5 kB / 0.617 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.521, allocations: 52.92 kB / 0.6171 GB, free: 15.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 29} Notification: Performance of prepare postOptimizeDAE: time 0.0007006/0.5217, allocations: 274 kB / 0.6173 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.5222, allocations: 138.2 kB / 0.6175 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.538, allocations: 5.825 MB / 0.6232 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.538, allocations: 8.516 kB / 0.6232 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.538, allocations: 4 kB / 0.6232 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/0.5381, allocations: 7.938 kB / 0.6232 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/0.5566, allocations: 7.565 MB / 0.6306 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.5567, allocations: 3.953 kB / 0.6306 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.5573, allocations: 107.9 kB / 0.6307 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00853/0.5658, allocations: 2.702 MB / 0.6333 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/0.5661, allocations: 25.11 kB / 0.6333 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03044/0.5965, allocations: 11.56 MB / 0.6446 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5966, allocations: 0 / 0.6446 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/0.6174, allocations: 7.076 MB / 0.6515 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.6183, allocations: 251 kB / 0.6518 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007093/0.619, allocations: 17.78 kB / 0.6518 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/0.6211, allocations: 151.9 kB / 0.6519 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008829/0.622, allocations: 244.9 kB / 0.6522 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.6222, allocations: 28 kB / 0.6522 GB, free: 10.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.6236, allocations: 0.7857 MB / 0.653 GB, free: 10.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6237, allocations: 0 / 0.653 GB, free: 10.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002217/0.6259, allocations: 0.4956 MB / 0.6535 GB, free: 9.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.02139/0.6473, allocations: 7.732 MB / 0.661 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009424/0.6568, allocations: 2.968 MB / 0.6639 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6568, allocations: 0 / 0.6639 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006708/0.6635, allocations: 2.108 MB / 0.666 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.6649, allocations: 103.1 kB / 0.6661 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008556/0.6735, allocations: 5.837 MB / 0.6718 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/0.6744, allocations: 1.194 MB / 0.6729 GB, free: 5.504 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005701/0.675, allocations: 116.2 kB / 0.673 GB, free: 5.391 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008027/0.6758, allocations: 0.5149 MB / 0.6735 GB, free: 4.875 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6759, allocations: 0 / 0.6735 GB, free: 4.875 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06292/0.7388, allocations: 35.39 MB / 0.7081 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.739, allocations: 202 kB / 0.7083 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.556, allocations: 0 / 0.7083 GB, free: 1.59 MB / 0.4981 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/linux/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) Environment - environmentSimulation: