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.0009803/0.0009846, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 239 MB, free: 5.652 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.001024/0.001024, allocations: 189 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.44/0.44, allocations: 79.45 MB / 420.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 0.489 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 69.52 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.2258/0.3608, allocations: 7.947 MB / 0.5646 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.3661, allocations: 2.903 MB / 0.5675 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.3672, allocations: 19.5 kB / 0.5675 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.368, allocations: 239.1 kB / 0.5677 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.3702, allocations: 0.9227 MB / 0.5686 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3719, allocations: 0.7991 MB / 0.5694 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.3737, allocations: 1.52 MB / 0.5709 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.3743, allocations: 423.7 kB / 0.5713 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.375, allocations: 0.8251 MB / 0.5721 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008886/0.3759, allocations: 1.059 MB / 0.5731 GB, free: 33.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.3762, allocations: 95.5 kB / 0.5732 GB, free: 33.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000601/0.3768, allocations: 340.1 kB / 0.5736 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.377, allocations: 391.5 kB / 0.5739 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.3773, allocations: 325.7 kB / 0.5742 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3786, allocations: 1.969 MB / 0.5762 GB, free: 32.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3786, allocations: 4 kB / 0.5762 GB, free: 32.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3786, allocations: 0.75 kB / 0.5762 GB, free: 32.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.081e-05/0.3787, allocations: 0 / 0.5762 GB, free: 32.24 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.01154/0.3902, allocations: 3.606 MB / 0.5797 GB, free: 30.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3903, allocations: 9 kB / 0.5797 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.395, allocations: 0.7894 MB / 0.5805 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.3972, allocations: 1.2 MB / 0.5816 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/0.3977, allocations: 0.5025 MB / 0.5821 GB, free: 29.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.398, allocations: 133.6 kB / 0.5823 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.401, allocations: 1.693 MB / 0.5839 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.401, allocations: 0 / 0.5839 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.4011, allocations: 50.44 kB / 0.584 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4012, allocations: 26.25 kB / 0.584 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.4045, allocations: 1.61 MB / 0.5856 GB, free: 28.23 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.009809/0.4143, allocations: 5.822 MB / 0.5912 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009636/0.4239, allocations: 3.762 MB / 0.5949 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.4245, allocations: 0.7334 MB / 0.5956 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002793/0.4273, allocations: 1.258 MB / 0.5969 GB, free: 22.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 3.507e-06/0.4273, allocations: 0 / 0.5969 GB, free: 22.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04551/0.4729, allocations: 12.06 MB / 0.6086 GB, free: 20.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.4729, allocations: 148.6 kB / 0.6088 GB, free: 20.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.4755, allocations: 1.559 MB / 0.6103 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000378/0.4759, allocations: 57.98 kB / 0.6104 GB, free: 19.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.4764, allocations: 0.6763 MB / 0.611 GB, free: 18.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005034/0.4769, allocations: 0.4978 MB / 0.6115 GB, free: 18.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.477, allocations: 40.31 kB / 0.6115 GB, free: 18.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.4771, allocations: 387 kB / 0.6119 GB, free: 17.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.4798, allocations: 1.165 MB / 0.613 GB, free: 17.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.4826, allocations: 1.388 MB / 0.6144 GB, free: 16.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/0.4853, allocations: 1.241 MB / 0.6156 GB, free: 16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.4854, allocations: 1.438 kB / 0.6156 GB, free: 16 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01062/0.496, allocations: 4.423 MB / 0.6199 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.4963, allocations: 1.525 MB / 0.6214 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.4964, allocations: 5.078 kB / 0.6214 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009758/0.5061, allocations: 3.175 MB / 0.6245 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.508, allocations: 355.5 kB / 0.6249 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/0.5148, allocations: 3.673 MB / 0.6285 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.5177, allocations: 347 kB / 0.6288 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.518, allocations: 67.98 kB / 0.6289 GB, free: 2.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.518, allocations: 5.875 kB / 0.6289 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01009/0.5281, allocations: 4.204 MB / 0.633 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5282, allocations: 4 kB / 0.633 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.5384, allocations: 3.172 MB / 0.6361 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.5402, allocations: 348.5 kB / 0.6364 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/0.5478, allocations: 3.659 MB / 0.64 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5506, allocations: 310.3 kB / 0.6403 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/0.551, allocations: 79.97 kB / 0.6403 GB, free: 6.691 MB / 446.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 ($whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001069/0.5521, allocations: 401.8 kB / 0.6407 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/0.5527, allocations: 185.7 kB / 0.6409 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/0.5713, allocations: 6.104 MB / 0.6469 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.5713, allocations: 16 kB / 0.6469 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5714, allocations: 4 kB / 0.6469 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-05/0.5714, allocations: 8.969 kB / 0.6469 GB, free: 15.95 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 postOpt removeSimpleEquations (simulation): time 0.02275/0.5942, allocations: 8.391 MB / 0.6551 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/0.5942, allocations: 4.891 kB / 0.6551 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.5955, allocations: 183.7 kB / 0.6553 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008138/0.6036, allocations: 2.514 MB / 0.6577 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000358/0.604, allocations: 31.98 kB / 0.6577 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02796/0.632, allocations: 10.88 MB / 0.6684 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.632, allocations: 2.719 kB / 0.6684 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02171/0.6538, allocations: 7.43 MB / 0.6756 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.6545, allocations: 303 kB / 0.6759 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006293/0.6551, allocations: 24 kB / 0.6759 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/0.6573, allocations: 211.8 kB / 0.6761 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009347/0.6582, allocations: 281.2 kB / 0.6764 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.6585, allocations: 35.98 kB / 0.6765 GB, free: 1.332 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001877/0.6604, allocations: 1.041 MB / 0.6775 GB, free: 304 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6604, allocations: 0 / 0.6775 GB, free: 304 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.003298/0.6637, allocations: 0.9364 MB / 0.6784 GB, free: 15.36 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004879/0.6642, allocations: 175.2 kB / 0.6785 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01862/0.6828, allocations: 5.884 MB / 0.6843 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.6829, allocations: 0 / 0.6843 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007278/0.6902, allocations: 2.279 MB / 0.6865 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6918, allocations: 144.8 kB / 0.6867 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.7005, allocations: 4.141 MB / 0.6907 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.7016, allocations: 1.331 MB / 0.692 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001353/0.703, allocations: 204 kB / 0.6922 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.7036, allocations: 115.3 kB / 0.6923 GB, free: 1.109 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7036, allocations: 0 / 0.6923 GB, free: 1.109 MB / 494.1 MB Notification: Performance of Templates: time 0.05727/0.7609, allocations: 34.46 MB / 0.726 GB, free: 14.76 MB / 0.5294 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)