Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08479/0.08479, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001071/0.001071, allocations: 111.4 kB / 31.84 MB, free: 3.879 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.378/1.378, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001361/0.001361, allocations: 180.5 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.465/0.465, allocations: 78.5 MB / 419.3 MB, free: 10.74 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.002472/0.002472, allocations: 130.5 kB / 0.5559 GB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1601, allocations: 68.12 MB / 0.6224 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009301/0.1694, allocations: 8.31 MB / 0.6305 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.1757, allocations: 2.537 MB / 0.633 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.1775, allocations: 12 kB / 0.633 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.1786, allocations: 321.3 kB / 0.6333 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.1824, allocations: 1.254 MB / 0.6345 GB, free: 0.6602 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1842, allocations: 0.6819 MB / 0.6352 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.1878, allocations: 2.342 MB / 0.6375 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.1886, allocations: 428.4 kB / 0.6379 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.1902, allocations: 0.8871 MB / 0.6388 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.1917, allocations: 1.14 MB / 0.6399 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003415/0.1921, allocations: 180 kB / 0.6401 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009977/0.1931, allocations: 403.8 kB / 0.6404 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.1936, allocations: 462.2 kB / 0.6409 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.1946, allocations: 0.909 MB / 0.6418 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.1979, allocations: 2.303 MB / 0.644 GB, free: 6.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1979, allocations: 0 / 0.644 GB, free: 6.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1979, allocations: 4 kB / 0.644 GB, free: 6.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.1979, allocations: 0 / 0.644 GB, free: 6.902 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01434/0.2123, allocations: 3.814 MB / 0.6477 GB, free: 3.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.2124, allocations: 15.98 kB / 0.6478 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.2171, allocations: 0.756 MB / 0.6485 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.2195, allocations: 1.129 MB / 0.6496 GB, free: 1.074 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.22, allocations: 428.5 kB / 0.65 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.2202, allocations: 112 kB / 0.6501 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.2232, allocations: 1.432 MB / 0.6515 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.2232, allocations: 0 / 0.6515 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.2234, allocations: 40 kB / 0.6516 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.2234, allocations: 24 kB / 0.6516 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.2263, allocations: 1.347 MB / 0.6529 GB, free: 13.62 MB / 478.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.009209/0.2356, allocations: 4.912 MB / 0.6577 GB, free: 8.488 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008121/0.2437, allocations: 2.892 MB / 0.6605 GB, free: 5.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.2459, allocations: 0.9151 MB / 0.6614 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.2461, allocations: 28.91 kB / 0.6614 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00213/0.2482, allocations: 1.054 MB / 0.6625 GB, free: 3.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 5.219e-06/0.2482, allocations: 0 / 0.6625 GB, free: 3.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04009/0.2883, allocations: 9.801 MB / 0.672 GB, free: 9.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.2884, allocations: 115.8 kB / 0.6721 GB, free: 9.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.2907, allocations: 1.415 MB / 0.6735 GB, free: 8.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004028/0.2911, allocations: 49.7 kB / 0.6736 GB, free: 7.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.2916, allocations: 0.6126 MB / 0.6742 GB, free: 7.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.2921, allocations: 479.8 kB / 0.6746 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006031/0.2928, allocations: 339.5 kB / 0.675 GB, free: 6.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2929, allocations: 301.1 kB / 0.6752 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.295, allocations: 0.9722 MB / 0.6762 GB, free: 5.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.2973, allocations: 1.174 MB / 0.6773 GB, free: 4.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.3015, allocations: 2.077 MB / 0.6794 GB, free: 1.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.3016, allocations: 3.938 kB / 0.6794 GB, free: 1.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.2982/0.5998, allocations: 3.715 MB / 0.683 GB, free: 52.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.5999, allocations: 7.516 kB / 0.683 GB, free: 52.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.5999, allocations: 6.719 kB / 0.683 GB, free: 52.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.6104, allocations: 2.97 MB / 0.6859 GB, free: 52.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.6119, allocations: 268.6 kB / 0.6862 GB, free: 52.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007743/0.6197, allocations: 2.99 MB / 0.6891 GB, free: 51.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.6222, allocations: 255.7 kB / 0.6893 GB, free: 51.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.6224, allocations: 68.94 kB / 0.6894 GB, free: 51.33 MB / 494.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.00076/0.6232, allocations: 298.8 kB / 0.6897 GB, free: 51.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.6236, allocations: 167.5 kB / 0.6898 GB, free: 51.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.6405, allocations: 4.815 MB / 0.6945 GB, free: 49.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.6406, allocations: 14.66 kB / 0.6946 GB, free: 49.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.6406, allocations: 1.375 kB / 0.6946 GB, free: 49.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.436e-05/0.6406, allocations: 11.02 kB / 0.6946 GB, free: 49.99 MB / 494.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.01811/0.6588, allocations: 6.894 MB / 0.7013 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.6588, allocations: 0 / 0.7013 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.6597, allocations: 147.5 kB / 0.7014 GB, free: 47.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007121/0.6668, allocations: 2.144 MB / 0.7035 GB, free: 46.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.667, allocations: 32.86 kB / 0.7036 GB, free: 46.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/0.6899, allocations: 10.07 MB / 0.7134 GB, free: 40.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6899, allocations: 5.203 kB / 0.7134 GB, free: 40.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.7064, allocations: 5.951 MB / 0.7192 GB, free: 35.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.7069, allocations: 287.3 kB / 0.7195 GB, free: 35.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.7071, allocations: 27.94 kB / 0.7195 GB, free: 35.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.7086, allocations: 131.8 kB / 0.7196 GB, free: 35.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007719/0.7094, allocations: 261.4 kB / 0.7199 GB, free: 34.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/0.7095, allocations: 36 kB / 0.7199 GB, free: 34.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.7107, allocations: 0.9542 MB / 0.7209 GB, free: 33.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7107, allocations: 0 / 0.7209 GB, free: 33.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00138/0.7121, allocations: 0.5303 MB / 0.7214 GB, free: 33.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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.0003021/0.7124, allocations: 153 kB / 0.7215 GB, free: 33.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007889/0.7203, allocations: 2.894 MB / 0.7243 GB, free: 30.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7203, allocations: 0 / 0.7243 GB, free: 30.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005584/0.7259, allocations: 1.928 MB / 0.7262 GB, free: 28.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.727, allocations: 138.4 kB / 0.7264 GB, free: 28.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.7314, allocations: 3.071 MB / 0.7294 GB, free: 25.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.7319, allocations: 1.227 MB / 0.7306 GB, free: 24.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.7324, allocations: 142 kB / 0.7307 GB, free: 23.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.7327, allocations: 95.42 kB / 0.7308 GB, free: 23.81 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7327, allocations: 0 / 0.7308 GB, free: 23.81 MB / 494.1 MB Notification: Performance of Templates: time 0.04409/0.7768, allocations: 30.59 MB / 0.7607 GB, free: 9.246 MB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)