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-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1099/0.1099, allocations: 12.59 MB / 28.23 MB, free: 1.066 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 111.4 kB / 31.83 MB, free: 4.012 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4545/0.4545, allocations: 78.51 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 142.2 kB / 0.5559 GB, free: 28.45 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1271, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007774/0.1349, allocations: 7.561 MB / 0.6298 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004295/0.1392, allocations: 2.259 MB / 0.632 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.1402, allocations: 12 kB / 0.632 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.1412, allocations: 305.6 kB / 0.6323 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.1454, allocations: 1.263 MB / 0.6335 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1468, allocations: 0.5765 MB / 0.6341 GB, free: 3.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.1496, allocations: 2.026 MB / 0.6361 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.1502, allocations: 345 kB / 0.6364 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.1514, allocations: 0.7859 MB / 0.6372 GB, free: 244 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.1527, allocations: 1.008 MB / 0.6381 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.1531, allocations: 147.9 kB / 0.6383 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008126/0.1539, allocations: 379.6 kB / 0.6386 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.1543, allocations: 390.4 kB / 0.639 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.1552, allocations: 0.8002 MB / 0.6398 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.1571, allocations: 2.016 MB / 0.6418 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1571, allocations: 3.938 kB / 0.6418 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1571, allocations: 0 / 0.6418 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.1571, allocations: 4 kB / 0.6418 GB, free: 11.49 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.01502/0.1722, allocations: 3.867 MB / 0.6455 GB, free: 7.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1722, allocations: 15.98 kB / 0.6456 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.1768, allocations: 0.7238 MB / 0.6463 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.1784, allocations: 0.9781 MB / 0.6472 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.1788, allocations: 357.3 kB / 0.6476 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.179, allocations: 96 kB / 0.6477 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.1817, allocations: 1.289 MB / 0.6489 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1817, allocations: 4 kB / 0.6489 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.1819, allocations: 32 kB / 0.6489 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.1819, allocations: 20 kB / 0.649 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.1846, allocations: 1.218 MB / 0.6502 GB, free: 2.723 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.007817/0.1924, allocations: 4.415 MB / 0.6545 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007971/0.2004, allocations: 2.527 MB / 0.6569 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.2022, allocations: 0.8537 MB / 0.6578 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.2023, allocations: 16.98 kB / 0.6578 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2023, allocations: 43.56 kB / 0.6578 GB, free: 10.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 3.196e-06/0.2024, allocations: 0 / 0.6578 GB, free: 10.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.05025/0.2526, allocations: 11.35 MB / 0.6689 GB, free: 15.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.2527, allocations: 94.11 kB / 0.669 GB, free: 15.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.2546, allocations: 1.187 MB / 0.6702 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.2548, allocations: 49.7 kB / 0.6702 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.2553, allocations: 0.5446 MB / 0.6707 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/0.2557, allocations: 398.2 kB / 0.6711 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/0.2563, allocations: 287.4 kB / 0.6714 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.2564, allocations: 301.1 kB / 0.6717 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.2584, allocations: 0.8824 MB / 0.6725 GB, free: 11.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.2606, allocations: 1.073 MB / 0.6736 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.2647, allocations: 1.972 MB / 0.6755 GB, free: 8.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2647, allocations: 0 / 0.6755 GB, free: 8.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01828/0.283, allocations: 5.316 MB / 0.6807 GB, free: 2.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.2831, allocations: 6.969 kB / 0.6807 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.2831, allocations: 4 kB / 0.6807 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009879/0.293, allocations: 2.564 MB / 0.6832 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.2944, allocations: 247.6 kB / 0.6835 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/0.3021, allocations: 2.74 MB / 0.6861 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.3044, allocations: 202.5 kB / 0.6863 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/0.3048, allocations: 59.98 kB / 0.6864 GB, free: 13.07 MB / 0.4981 GB 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.0009182/0.3057, allocations: 277.5 kB / 0.6866 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/0.3063, allocations: 142.2 kB / 0.6868 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/0.3235, allocations: 4.778 MB / 0.6914 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.3235, allocations: 15.98 kB / 0.6915 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3235, allocations: 0 / 0.6915 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/0.3236, allocations: 7.969 kB / 0.6915 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/0.3443, allocations: 6.527 MB / 0.6978 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.3444, allocations: 3.938 kB / 0.6978 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.3451, allocations: 111.8 kB / 0.698 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00897/0.3541, allocations: 2.329 MB / 0.7002 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.3543, allocations: 20 kB / 0.7002 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/0.3835, allocations: 10.75 MB / 0.7107 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3835, allocations: 4 kB / 0.7107 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2854/0.6689, allocations: 5.942 MB / 0.7166 GB, free: 82.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.6694, allocations: 244.5 kB / 0.7168 GB, free: 82.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.6697, allocations: 20.59 kB / 0.7168 GB, free: 82.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6711, allocations: 108.7 kB / 0.7169 GB, free: 82.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008252/0.672, allocations: 244.7 kB / 0.7171 GB, free: 82.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.6721, allocations: 35.19 kB / 0.7172 GB, free: 82.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001229/0.6733, allocations: 0.7937 MB / 0.718 GB, free: 82.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.6733, allocations: 0 / 0.718 GB, free: 82.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001379/0.6747, allocations: 0.4905 MB / 0.7184 GB, free: 82.77 MB / 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.0002937/0.675, allocations: 145.5 kB / 0.7186 GB, free: 82.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008639/0.6837, allocations: 2.645 MB / 0.7212 GB, free: 82.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6837, allocations: 0 / 0.7212 GB, free: 82.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006557/0.6902, allocations: 1.868 MB / 0.723 GB, free: 81.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6915, allocations: 117.5 kB / 0.7231 GB, free: 81.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.6961, allocations: 2.618 MB / 0.7256 GB, free: 80.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.6968, allocations: 1.157 MB / 0.7268 GB, free: 79.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004676/0.6972, allocations: 118.5 kB / 0.7269 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.6975, allocations: 79.84 kB / 0.727 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/0.6976, allocations: 0 / 0.727 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.03576/0.7333, allocations: 28.83 MB / 0.7551 GB, free: 64.57 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)