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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, 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.317/1.317, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001263/0.001262, allocations: 181 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4621/0.4621, allocations: 79.46 MB / 420.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003964, allocations: 16 kB / 0.4891 GB, free: 5.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 69.51 MB / 0.557 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.006709/0.3439, allocations: 7.953 MB / 0.5647 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005473/0.3494, allocations: 2.908 MB / 0.5676 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.3512, allocations: 16.66 kB / 0.5676 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009492/0.3522, allocations: 240.4 kB / 0.5678 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.3548, allocations: 0.9176 MB / 0.5687 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.3568, allocations: 0.7977 MB / 0.5695 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.3593, allocations: 1.529 MB / 0.571 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.36, allocations: 428.8 kB / 0.5714 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.3611, allocations: 0.8292 MB / 0.5722 GB, free: 33.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/0.3621, allocations: 1.049 MB / 0.5732 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3623, allocations: 100.2 kB / 0.5733 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.363, allocations: 339.2 kB / 0.5737 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.3633, allocations: 388.5 kB / 0.574 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.3636, allocations: 331.2 kB / 0.5743 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.3651, allocations: 1.969 MB / 0.5763 GB, free: 32.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3651, allocations: 0 / 0.5763 GB, free: 32.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3651, allocations: 0.625 kB / 0.5763 GB, free: 32.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.3651, allocations: 1.625 kB / 0.5763 GB, free: 32.2 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.01146/0.3766, allocations: 3.604 MB / 0.5798 GB, free: 30.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3766, allocations: 14.5 kB / 0.5798 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004256/0.3771, allocations: 176.4 kB / 0.58 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/0.3817, allocations: 0.784 MB / 0.5807 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.3839, allocations: 1.194 MB / 0.5819 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.3844, allocations: 0.5061 MB / 0.5824 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.3846, allocations: 128.3 kB / 0.5825 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.3875, allocations: 1.699 MB / 0.5842 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3876, allocations: 3.938 kB / 0.5842 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.3877, allocations: 46.44 kB / 0.5842 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3877, allocations: 26.22 kB / 0.5842 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.3909, allocations: 1.606 MB / 0.5858 GB, free: 28.07 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.009196/0.4002, allocations: 5.823 MB / 0.5915 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00924/0.4094, allocations: 3.767 MB / 0.5952 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.41, allocations: 0.7349 MB / 0.5959 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002753/0.4128, allocations: 1.251 MB / 0.5971 GB, free: 22.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 4.589e-06/0.4128, allocations: 0 / 0.5971 GB, free: 22.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.04382/0.4566, allocations: 12.07 MB / 0.6089 GB, free: 20.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4567, allocations: 143.4 kB / 0.609 GB, free: 20.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.4592, allocations: 1.559 MB / 0.6106 GB, free: 19.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.4596, allocations: 52.11 kB / 0.6106 GB, free: 19.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.4601, allocations: 0.6763 MB / 0.6113 GB, free: 18.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004607/0.4605, allocations: 0.4966 MB / 0.6118 GB, free: 18.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.4607, allocations: 44.66 kB / 0.6118 GB, free: 18.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.4608, allocations: 383.9 kB / 0.6122 GB, free: 17.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.4632, allocations: 1.165 MB / 0.6133 GB, free: 17.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.4656, allocations: 1.393 MB / 0.6147 GB, free: 16.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.468, allocations: 1.244 MB / 0.6159 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.468, allocations: 1.125 kB / 0.6159 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.009008/0.477, allocations: 4.415 MB / 0.6202 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002368/0.4773, allocations: 1.529 MB / 0.6217 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4773, allocations: 8.094 kB / 0.6217 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008972/0.4863, allocations: 3.175 MB / 0.6248 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.488, allocations: 363.5 kB / 0.6251 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006209/0.4943, allocations: 3.673 MB / 0.6287 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.497, allocations: 334 kB / 0.6291 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.4973, allocations: 71.98 kB / 0.6291 GB, free: 2.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4973, allocations: 4 kB / 0.6291 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009495/0.5068, allocations: 4.204 MB / 0.6332 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5069, allocations: 4 kB / 0.6332 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.517, allocations: 3.169 MB / 0.6363 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5188, allocations: 351.5 kB / 0.6367 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007644/0.5265, allocations: 3.658 MB / 0.6402 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.5294, allocations: 315.2 kB / 0.6405 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.5296, allocations: 71.98 kB / 0.6406 GB, free: 6.41 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.0009451/0.5306, allocations: 408.7 kB / 0.641 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.531, allocations: 181.7 kB / 0.6412 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/0.5491, allocations: 6.111 MB / 0.6471 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.5492, allocations: 16 kB / 0.6471 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5492, allocations: 0 / 0.6471 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.441e-05/0.5492, allocations: 9.094 kB / 0.6472 GB, free: 15.67 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.02109/0.5703, allocations: 8.388 MB / 0.6553 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.5704, allocations: 0 / 0.6553 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.5716, allocations: 191.8 kB / 0.6555 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00795/0.5796, allocations: 2.514 MB / 0.658 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/0.58, allocations: 24 kB / 0.658 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02634/0.6063, allocations: 10.89 MB / 0.6686 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6064, allocations: 7.125 kB / 0.6686 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/0.6268, allocations: 7.424 MB / 0.6759 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/0.6276, allocations: 298.4 kB / 0.6762 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/0.6279, allocations: 28 kB / 0.6762 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.6297, allocations: 211.8 kB / 0.6764 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/0.6305, allocations: 281.2 kB / 0.6767 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6307, allocations: 39.92 kB / 0.6767 GB, free: 1.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.6323, allocations: 1.041 MB / 0.6777 GB, free: 12 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6323, allocations: 4 kB / 0.6777 GB, free: 8 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002473/0.6348, allocations: 0.9363 MB / 0.6787 GB, free: 15.07 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.02094/0.6557, allocations: 8.17 MB / 0.6866 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0171/0.6729, allocations: 5.884 MB / 0.6924 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.6729, allocations: 4.062 kB / 0.6924 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006898/0.6799, allocations: 2.277 MB / 0.6946 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6812, allocations: 146.5 kB / 0.6947 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/0.6905, allocations: 7.284 MB / 0.7019 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008994/0.6914, allocations: 1.343 MB / 0.7032 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001022/0.6924, allocations: 206.5 kB / 0.7034 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009231/0.6934, allocations: 0.6906 MB / 0.704 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.6934, allocations: 0 / 0.704 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07726/0.7706, allocations: 48.53 MB / 0.7514 GB, free: 4.66 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.7709, allocations: 195.6 kB / 0.7516 GB, free: 4.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/4.037, allocations: 64 / 0.7516 GB, free: 4.418 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1) Environment - environmentSimulation: