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: translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.665/1.665, allocations: 223.3 MB / 239.4 MB, free: 5.398 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.001262/0.001262, allocations: 176.5 kB / 290.6 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5449/0.5449, allocations: 78.55 MB / 420.3 MB, free: 4.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 8 kB / 0.4887 GB, free: 5.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.174, allocations: 69.36 MB / 0.5564 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.318/0.492, allocations: 7.393 MB / 0.5636 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.4972, allocations: 2.318 MB / 0.5659 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.4985, allocations: 15.16 kB / 0.5659 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.4992, allocations: 230.3 kB / 0.5661 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.502, allocations: 1.087 MB / 0.5672 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.5032, allocations: 0.543 MB / 0.5677 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.5052, allocations: 1.915 MB / 0.5696 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.5056, allocations: 297.5 kB / 0.5699 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.5065, allocations: 0.6942 MB / 0.5705 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008765/0.5074, allocations: 0.9368 MB / 0.5714 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.5076, allocations: 80.44 kB / 0.5715 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.5082, allocations: 304.5 kB / 0.5718 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.5085, allocations: 322.1 kB / 0.5721 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.509, allocations: 0.7538 MB / 0.5729 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.5104, allocations: 1.903 MB / 0.5747 GB, free: 31.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.5104, allocations: 6.219 kB / 0.5747 GB, free: 31.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5104, allocations: 3.031 kB / 0.5747 GB, free: 31.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.5105, allocations: 0 / 0.5747 GB, free: 31.93 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.01357/0.524, allocations: 3.68 MB / 0.5783 GB, free: 30.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5241, allocations: 12.78 kB / 0.5783 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.5288, allocations: 0.7234 MB / 0.579 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.5307, allocations: 0.9764 MB / 0.58 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/0.5311, allocations: 371.9 kB / 0.5803 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.5314, allocations: 94.47 kB / 0.5804 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.5341, allocations: 1.371 MB / 0.5818 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5341, allocations: 2.938 kB / 0.5818 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.5342, allocations: 35.09 kB / 0.5818 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.5343, allocations: 20.25 kB / 0.5818 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.5369, allocations: 1.306 MB / 0.5831 GB, free: 29.95 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.007998/0.5449, allocations: 4.52 MB / 0.5875 GB, free: 27.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.5538, allocations: 3.081 MB / 0.5905 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/0.556, allocations: 0.937 MB / 0.5914 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.5561, allocations: 23.02 kB / 0.5915 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5562, allocations: 44.53 kB / 0.5915 GB, free: 26.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.827e-06/0.5562, allocations: 0 / 0.5915 GB, free: 26.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05792/0.6141, allocations: 13.84 MB / 0.605 GB, free: 24.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.6143, allocations: 93.27 kB / 0.6051 GB, free: 23.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.6177, allocations: 1.179 MB / 0.6063 GB, free: 23.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/0.6182, allocations: 52.12 kB / 0.6063 GB, free: 23.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/0.6188, allocations: 0.5402 MB / 0.6068 GB, free: 23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007794/0.6196, allocations: 405.5 kB / 0.6072 GB, free: 22.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007679/0.6203, allocations: 144.7 kB / 0.6074 GB, free: 22.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.6205, allocations: 302.2 kB / 0.6077 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/0.6231, allocations: 0.9702 MB / 0.6086 GB, free: 21.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.6259, allocations: 1.156 MB / 0.6097 GB, free: 21.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/0.6306, allocations: 2.119 MB / 0.6118 GB, free: 20.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.6306, allocations: 1.594 kB / 0.6118 GB, free: 20.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01906/0.6497, allocations: 6.367 MB / 0.618 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.6498, allocations: 10.69 kB / 0.618 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6498, allocations: 4 kB / 0.618 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009576/0.6594, allocations: 2.945 MB / 0.6209 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.6607, allocations: 243.6 kB / 0.6211 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.6672, allocations: 3.065 MB / 0.6241 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.6695, allocations: 247.2 kB / 0.6244 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.6698, allocations: 55.98 kB / 0.6244 GB, free: 7.832 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.0007204/0.6705, allocations: 270.1 kB / 0.6247 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.671, allocations: 146.2 kB / 0.6248 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.6879, allocations: 5.829 MB / 0.6305 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.688, allocations: 16.88 kB / 0.6305 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.688, allocations: 0 / 0.6305 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.57e-05/0.6881, allocations: 4.641 kB / 0.6305 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/0.7105, allocations: 7.58 MB / 0.6379 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.7106, allocations: 0 / 0.6379 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.7113, allocations: 115.8 kB / 0.638 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009475/0.7208, allocations: 2.706 MB / 0.6407 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/0.7212, allocations: 26.05 kB / 0.6407 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02893/0.7501, allocations: 10.96 MB / 0.6514 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7502, allocations: 0 / 0.6514 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02192/0.7721, allocations: 7.08 MB / 0.6583 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.7732, allocations: 250.9 kB / 0.6586 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008266/0.7741, allocations: 27.94 kB / 0.6586 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/0.7763, allocations: 147.9 kB / 0.6587 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.7774, allocations: 233 kB / 0.659 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/0.7777, allocations: 34.47 kB / 0.659 GB, free: 4.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.7798, allocations: 0.7935 MB / 0.6598 GB, free: 3.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.7799, allocations: 0 / 0.6598 GB, free: 3.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002991/0.7829, allocations: 0.4956 MB / 0.6603 GB, free: 2.816 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.0005152/0.7834, allocations: 131.2 kB / 0.6604 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009552/0.793, allocations: 2.974 MB / 0.6633 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.793, allocations: 4 kB / 0.6633 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006785/0.7998, allocations: 2.102 MB / 0.6653 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.8019, allocations: 120.8 kB / 0.6655 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006245/0.8082, allocations: 3.254 MB / 0.6686 GB, free: 10.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009164/0.8092, allocations: 1.163 MB / 0.6698 GB, free: 9.066 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006197/0.8098, allocations: 118.8 kB / 0.6699 GB, free: 8.953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.8102, allocations: 75.42 kB / 0.67 GB, free: 8.879 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.8102, allocations: 4 kB / 0.67 GB, free: 8.875 MB / 478.1 MB Notification: Performance of Templates: time 0.04669/0.8569, allocations: 25.2 MB / 0.6946 GB, free: 15.81 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1) Environment - environmentSimulation: