Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 99.5 kB / 16.02 MB, free: 76 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.314/1.314, allocations: 223.3 MB / 240 MB, free: 5.465 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.00117/0.00117, allocations: 180.4 kB / 291.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5023/0.5023, allocations: 91.93 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 15.98 kB / 0.5054 GB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3843, allocations: 72.45 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.006783/0.3912, allocations: 8.902 MB / 0.5849 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005707/0.3969, allocations: 2.98 MB / 0.5878 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.3988, allocations: 18.69 kB / 0.5878 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.3998, allocations: 271 kB / 0.5881 GB, free: 28.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.4027, allocations: 0.9107 MB / 0.5889 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.4047, allocations: 0.94 MB / 0.5899 GB, free: 27.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.4072, allocations: 2.385 MB / 0.5922 GB, free: 26.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.4079, allocations: 490 kB / 0.5927 GB, free: 25.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.4092, allocations: 0.8393 MB / 0.5935 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.4105, allocations: 1.096 MB / 0.5946 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.4107, allocations: 102.6 kB / 0.5947 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008629/0.4116, allocations: 372.1 kB / 0.595 GB, free: 24.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.4119, allocations: 404.8 kB / 0.5954 GB, free: 24.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.4126, allocations: 0.9102 MB / 0.5963 GB, free: 23.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.4144, allocations: 2.014 MB / 0.5982 GB, free: 23.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4144, allocations: 1.828 kB / 0.5983 GB, free: 23.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4144, allocations: 1.312 kB / 0.5983 GB, free: 23.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.4145, allocations: 0 / 0.5983 GB, free: 23.42 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.01293/0.4274, allocations: 3.592 MB / 0.6018 GB, free: 22.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4275, allocations: 13.5 kB / 0.6018 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/0.4327, allocations: 0.7849 MB / 0.6025 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.4357, allocations: 1.255 MB / 0.6038 GB, free: 21.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/0.4362, allocations: 0.5062 MB / 0.6043 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.4365, allocations: 127.7 kB / 0.6044 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/0.4404, allocations: 1.719 MB / 0.6061 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4404, allocations: 0 / 0.6061 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.4406, allocations: 46.17 kB / 0.6061 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.4406, allocations: 31.92 kB / 0.6061 GB, free: 19.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/0.4444, allocations: 1.614 MB / 0.6077 GB, free: 19.29 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.01103/0.4554, allocations: 5.706 MB / 0.6133 GB, free: 16.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.4656, allocations: 3.775 MB / 0.617 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/0.4683, allocations: 1.097 MB / 0.618 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004756/0.4688, allocations: 0.735 MB / 0.6188 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002991/0.4718, allocations: 1.256 MB / 0.62 GB, free: 13.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 5.711e-06/0.4718, allocations: 0 / 0.62 GB, free: 13.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04368/0.5155, allocations: 12.13 MB / 0.6318 GB, free: 3.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.5156, allocations: 153.9 kB / 0.632 GB, free: 3.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.518, allocations: 1.569 MB / 0.6335 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.5185, allocations: 49.7 kB / 0.6336 GB, free: 2.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.519, allocations: 0.6714 MB / 0.6342 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.5195, allocations: 0.5007 MB / 0.6347 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.5198, allocations: 197.7 kB / 0.6349 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.5198, allocations: 309.1 kB / 0.6352 GB, free: 468 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.5225, allocations: 1.171 MB / 0.6363 GB, free: 15.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/0.5256, allocations: 1.41 MB / 0.6377 GB, free: 13.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006012/0.5316, allocations: 2.47 MB / 0.6401 GB, free: 11.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5317, allocations: 0 / 0.6401 GB, free: 11.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01281/0.5445, allocations: 4.581 MB / 0.6446 GB, free: 6.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.5447, allocations: 217.2 kB / 0.6448 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5447, allocations: 0 / 0.6448 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5558, allocations: 3.18 MB / 0.6479 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.5578, allocations: 359.5 kB / 0.6482 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007975/0.5658, allocations: 3.681 MB / 0.6518 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/0.569, allocations: 334 kB / 0.6522 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.5692, allocations: 71.97 kB / 0.6522 GB, free: 14.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5693, allocations: 4 kB / 0.6522 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/0.5806, allocations: 4.363 MB / 0.6565 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5806, allocations: 4.375 kB / 0.6565 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.5911, allocations: 3.16 MB / 0.6596 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.593, allocations: 351.5 kB / 0.6599 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.6008, allocations: 3.672 MB / 0.6635 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.6037, allocations: 310.4 kB / 0.6638 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.604, allocations: 71.98 kB / 0.6639 GB, free: 2.746 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0009672/0.605, allocations: 415.1 kB / 0.6643 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/0.6054, allocations: 173.8 kB / 0.6644 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.019/0.6245, allocations: 6.126 MB / 0.6704 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.6245, allocations: 12 kB / 0.6704 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.6245, allocations: 3.984 kB / 0.6704 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-05/0.6246, allocations: 7.984 kB / 0.6704 GB, free: 11.99 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 postOpt removeSimpleEquations (simulation): time 0.02246/0.6471, allocations: 8.348 MB / 0.6786 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.6471, allocations: 3.984 kB / 0.6786 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.6484, allocations: 183.8 kB / 0.6788 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008254/0.6566, allocations: 2.521 MB / 0.6812 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003884/0.6571, allocations: 35.98 kB / 0.6813 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/0.6833, allocations: 10.33 MB / 0.6914 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6833, allocations: 0 / 0.6914 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/0.7053, allocations: 7.4 MB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.7062, allocations: 302.4 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/0.7067, allocations: 28 kB / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/0.7087, allocations: 203.8 kB / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009197/0.7096, allocations: 289.1 kB / 0.6994 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.7097, allocations: 35.98 kB / 0.6994 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001701/0.7114, allocations: 1.053 MB / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7114, allocations: 0 / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002726/0.7142, allocations: 0.9402 MB / 0.7013 GB, free: 12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * 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 (96): * Single equations (assignments): 95 * 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.0004295/0.7146, allocations: 171 kB / 0.7015 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01789/0.7325, allocations: 5.906 MB / 0.7073 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.7326, allocations: 0 / 0.7073 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0072/0.7398, allocations: 2.28 MB / 0.7095 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.7417, allocations: 167.8 kB / 0.7097 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.7491, allocations: 4.328 MB / 0.7139 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.75, allocations: 1.3 MB / 0.7152 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/0.7507, allocations: 115.4 kB / 0.7153 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.7507, allocations: 0 / 0.7153 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.0416/0.7923, allocations: 32.83 MB / 0.7473 GB, free: 12.81 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)