Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.077/0.077, allocations: 12.6 MB / 28.85 MB, free: 284 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 115.4 kB / 32.45 MB, free: 3.414 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.334/1.334, allocations: 205.1 MB / 241 MB, free: 12.38 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.001374/0.001374, allocations: 187.4 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4625/0.4625, allocations: 78.51 MB / 419.9 MB, free: 11.28 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.002528/0.002528, allocations: 136.5 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2988, allocations: 68.1 MB / 0.556 GB, free: 32.95 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.006915/0.3058, allocations: 7.081 MB / 0.5629 GB, free: 27.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.3102, allocations: 2.226 MB / 0.5651 GB, free: 25.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.3114, allocations: 9.969 kB / 0.5651 GB, free: 25.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.3121, allocations: 272 kB / 0.5653 GB, free: 25.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.3148, allocations: 1.128 MB / 0.5664 GB, free: 24.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.316, allocations: 0.5765 MB / 0.567 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.3181, allocations: 1.909 MB / 0.5689 GB, free: 23.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.3185, allocations: 321.4 kB / 0.5692 GB, free: 22.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.3194, allocations: 0.7337 MB / 0.5699 GB, free: 22.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009059/0.3203, allocations: 0.9619 MB / 0.5708 GB, free: 21.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.3206, allocations: 139.7 kB / 0.571 GB, free: 21.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.3212, allocations: 315.8 kB / 0.5713 GB, free: 21.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.3214, allocations: 373.3 kB / 0.5716 GB, free: 21.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.322, allocations: 0.7523 MB / 0.5724 GB, free: 20.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.3237, allocations: 1.855 MB / 0.5742 GB, free: 19.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3237, allocations: 0 / 0.5742 GB, free: 19.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3237, allocations: 3.938 kB / 0.5742 GB, free: 19.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.3237, allocations: 0 / 0.5742 GB, free: 19.48 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01212/0.3359, allocations: 3.471 MB / 0.5776 GB, free: 17.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3359, allocations: 15.92 kB / 0.5776 GB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004176/0.3401, allocations: 0.7201 MB / 0.5783 GB, free: 16.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.3414, allocations: 0.9225 MB / 0.5792 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.3416, allocations: 353.8 kB / 0.5795 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3418, allocations: 91.91 kB / 0.5796 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.3438, allocations: 1.219 MB / 0.5808 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3438, allocations: 7.938 kB / 0.5808 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.3439, allocations: 32 kB / 0.5808 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3439, allocations: 20 kB / 0.5809 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.346, allocations: 1.163 MB / 0.582 GB, free: 12.55 MB / 398.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.005939/0.3519, allocations: 4.107 MB / 0.586 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/0.3585, allocations: 2.679 MB / 0.5886 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3599, allocations: 0.8323 MB / 0.5894 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.36, allocations: 20.97 kB / 0.5894 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.3601, allocations: 47.56 kB / 0.5895 GB, free: 4.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.655e-06/0.3601, allocations: 0 / 0.5895 GB, free: 4.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.04/0.4001, allocations: 10.09 MB / 0.5993 GB, free: 10.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.4002, allocations: 94.05 kB / 0.5994 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.4017, allocations: 1.113 MB / 0.6005 GB, free: 9.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.402, allocations: 53.7 kB / 0.6006 GB, free: 9.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.4023, allocations: 0.4935 MB / 0.6011 GB, free: 8.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.4027, allocations: 398.3 kB / 0.6014 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005304/0.4033, allocations: 283.4 kB / 0.6017 GB, free: 7.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.4034, allocations: 301.1 kB / 0.602 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.4052, allocations: 0.8628 MB / 0.6028 GB, free: 6.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.4071, allocations: 1.041 MB / 0.6039 GB, free: 5.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.4109, allocations: 1.874 MB / 0.6057 GB, free: 3.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4109, allocations: 3.984 kB / 0.6057 GB, free: 3.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008575/0.4195, allocations: 3.37 MB / 0.609 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4195, allocations: 8 kB / 0.609 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4195, allocations: 4.312 kB / 0.609 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009306/0.4289, allocations: 2.6 MB / 0.6115 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4301, allocations: 243.6 kB / 0.6118 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.4361, allocations: 2.642 MB / 0.6143 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.4381, allocations: 206.6 kB / 0.6145 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.4383, allocations: 55.98 kB / 0.6146 GB, free: 10.59 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004772/0.4388, allocations: 253.5 kB / 0.6148 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.4391, allocations: 134.3 kB / 0.615 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/0.4539, allocations: 4.57 MB / 0.6194 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.4539, allocations: 12 kB / 0.6194 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.454, allocations: 7.922 kB / 0.6194 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.454, allocations: 3.984 kB / 0.6194 GB, free: 5.582 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 postOpt removeSimpleEquations (simulation): time 0.01701/0.471, allocations: 6.342 MB / 0.6256 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.471, allocations: 0 / 0.6256 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.4717, allocations: 107.8 kB / 0.6257 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007157/0.4789, allocations: 2.142 MB / 0.6278 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.4791, allocations: 23.98 kB / 0.6279 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02474/0.5038, allocations: 10.04 MB / 0.6377 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5038, allocations: 7.938 kB / 0.6377 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.5205, allocations: 5.657 MB / 0.6432 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.5211, allocations: 235.1 kB / 0.6434 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.5213, allocations: 23.94 kB / 0.6434 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.5226, allocations: 107.9 kB / 0.6435 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007412/0.5233, allocations: 237.1 kB / 0.6438 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/0.5234, allocations: 28 kB / 0.6438 GB, free: 12.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000976/0.5244, allocations: 0.7523 MB / 0.6445 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5244, allocations: 4 kB / 0.6445 GB, free: 11.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00123/0.5257, allocations: 475.5 kB / 0.645 GB, free: 11.08 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,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.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 (65): * Single equations (assignments): 64 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002689/0.5259, allocations: 131.1 kB / 0.6451 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007575/0.5335, allocations: 2.584 MB / 0.6476 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5335, allocations: 0 / 0.6476 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005462/0.539, allocations: 1.819 MB / 0.6494 GB, free: 6.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5401, allocations: 115.2 kB / 0.6495 GB, free: 6.418 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.5443, allocations: 2.497 MB / 0.652 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.5449, allocations: 1.127 MB / 0.6531 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.5453, allocations: 112.3 kB / 0.6532 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.5456, allocations: 75.42 kB / 0.6532 GB, free: 2.551 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5456, allocations: 0 / 0.6532 GB, free: 2.551 MB / 462.1 MB Notification: Performance of Templates: time 0.03744/0.583, allocations: 26.45 MB / 0.6791 GB, free: 8.109 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)