Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.2 MB, free: 4.641 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.001301/0.001301, allocations: 184.5 kB / 289.5 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.491/0.491, allocations: 91.89 MB / 431.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 75.89 kB / 0.5019 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4073, allocations: 71.27 MB / 0.5715 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006004/0.4133, allocations: 7.529 MB / 0.5788 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.4175, allocations: 2.288 MB / 0.581 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.4184, allocations: 10.88 kB / 0.5811 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.4191, allocations: 298.7 kB / 0.5813 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.4214, allocations: 0.9889 MB / 0.5823 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.4227, allocations: 0.6812 MB / 0.583 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.4245, allocations: 1.848 MB / 0.5848 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.425, allocations: 348 kB / 0.5851 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.426, allocations: 0.7531 MB / 0.5858 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.427, allocations: 0.9962 MB / 0.5868 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002496/0.4273, allocations: 146.1 kB / 0.587 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008376/0.4281, allocations: 387.5 kB / 0.5873 GB, free: 27.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.4285, allocations: 380.8 kB / 0.5877 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.4291, allocations: 0.7996 MB / 0.5885 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.4308, allocations: 1.988 MB / 0.5904 GB, free: 25.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4309, allocations: 0 / 0.5904 GB, free: 25.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4309, allocations: 2.281 kB / 0.5904 GB, free: 25.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.4309, allocations: 0 / 0.5904 GB, free: 25.81 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.01283/0.4437, allocations: 3.522 MB / 0.5939 GB, free: 24.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4438, allocations: 9.969 kB / 0.5939 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.4483, allocations: 0.724 MB / 0.5946 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.4499, allocations: 0.9847 MB / 0.5955 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.4502, allocations: 360.2 kB / 0.5959 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.4504, allocations: 95.44 kB / 0.596 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.4529, allocations: 1.283 MB / 0.5972 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.4529, allocations: 4 kB / 0.5972 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.4531, allocations: 31.62 kB / 0.5973 GB, free: 22.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.4531, allocations: 20.53 kB / 0.5973 GB, free: 22.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.4556, allocations: 1.219 MB / 0.5985 GB, free: 22.31 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.007815/0.4634, allocations: 4.433 MB / 0.6028 GB, free: 19.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007785/0.4712, allocations: 2.516 MB / 0.6052 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.4731, allocations: 0.8557 MB / 0.6061 GB, free: 18.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.4732, allocations: 18.81 kB / 0.6061 GB, free: 18.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4732, allocations: 49.42 kB / 0.6061 GB, free: 18.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.046e-06/0.4733, allocations: 0 / 0.6061 GB, free: 18.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04906/0.5223, allocations: 11.35 MB / 0.6172 GB, free: 14.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5224, allocations: 89.17 kB / 0.6173 GB, free: 14.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.5243, allocations: 1.185 MB / 0.6185 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.5245, allocations: 46.7 kB / 0.6185 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.5249, allocations: 0.5399 MB / 0.619 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.5253, allocations: 408.8 kB / 0.6194 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005668/0.5259, allocations: 291 kB / 0.6197 GB, free: 12.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.56e-05/0.526, allocations: 301.1 kB / 0.62 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.5277, allocations: 0.8824 MB / 0.6209 GB, free: 11.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.5295, allocations: 1.073 MB / 0.6219 GB, free: 10.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.5329, allocations: 1.964 MB / 0.6238 GB, free: 8.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5329, allocations: 0 / 0.6238 GB, free: 8.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01604/0.549, allocations: 5.309 MB / 0.629 GB, free: 3.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.549, allocations: 12 kB / 0.629 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.549, allocations: 4 kB / 0.629 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008815/0.5579, allocations: 2.576 MB / 0.6315 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.559, allocations: 239.7 kB / 0.6318 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/0.5657, allocations: 2.752 MB / 0.6345 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.5681, allocations: 210.5 kB / 0.6347 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.5684, allocations: 51.98 kB / 0.6347 GB, free: 13.26 MB / 446.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.0007662/0.5692, allocations: 273.5 kB / 0.635 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/0.5697, allocations: 142.2 kB / 0.6351 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/0.5865, allocations: 4.782 MB / 0.6398 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.5866, allocations: 12 kB / 0.6398 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5866, allocations: 4 kB / 0.6398 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-05/0.5866, allocations: 7.969 kB / 0.6398 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/0.607, allocations: 6.537 MB / 0.6462 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.607, allocations: 4 kB / 0.6462 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.6077, allocations: 103.9 kB / 0.6463 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00882/0.6165, allocations: 2.333 MB / 0.6486 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.6168, allocations: 28 kB / 0.6486 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02873/0.6455, allocations: 10.77 MB / 0.6591 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6456, allocations: 3.938 kB / 0.6591 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01975/0.6653, allocations: 5.948 MB / 0.6649 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.666, allocations: 235.1 kB / 0.6651 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/0.6666, allocations: 27.98 kB / 0.6652 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.6684, allocations: 111.9 kB / 0.6653 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009737/0.6694, allocations: 241 kB / 0.6655 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/0.6696, allocations: 27.98 kB / 0.6655 GB, free: 13.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.6711, allocations: 0.7974 MB / 0.6663 GB, free: 12.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6711, allocations: 0 / 0.6663 GB, free: 12.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001995/0.6731, allocations: 0.4955 MB / 0.6668 GB, free: 12.05 MB / 478.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.0003843/0.6735, allocations: 139.2 kB / 0.6669 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009415/0.683, allocations: 2.67 MB / 0.6695 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.683, allocations: 256 / 0.6695 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00684/0.6899, allocations: 1.87 MB / 0.6714 GB, free: 7.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.6918, allocations: 120.8 kB / 0.6715 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.6975, allocations: 2.641 MB / 0.6741 GB, free: 4.559 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.6983, allocations: 1.159 MB / 0.6752 GB, free: 3.371 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005804/0.6989, allocations: 112.5 kB / 0.6753 GB, free: 3.258 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.6993, allocations: 83.42 kB / 0.6754 GB, free: 3.176 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6993, allocations: 3.938 kB / 0.6754 GB, free: 3.172 MB / 478.1 MB Notification: Performance of Templates: time 0.04769/0.747, allocations: 28.58 MB / 0.7033 GB, free: 6.602 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)