Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_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.001415/0.001415, allocations: 98.45 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.321/1.321, allocations: 223.2 MB / 238.9 MB, free: 5.41 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.001056/0.001056, allocations: 185 kB / 290.2 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4396/0.4396, allocations: 78.52 MB / 419.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12 kB / 499.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 69.36 MB / 0.5558 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.2626/0.4044, allocations: 7.925 MB / 0.5635 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00557/0.41, allocations: 2.908 MB / 0.5664 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.4114, allocations: 21.56 kB / 0.5664 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008896/0.4123, allocations: 242 kB / 0.5666 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.4154, allocations: 1.095 MB / 0.5677 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.4173, allocations: 0.7198 MB / 0.5684 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.42, allocations: 1.629 MB / 0.57 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/0.4207, allocations: 429.4 kB / 0.5704 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.4219, allocations: 0.8435 MB / 0.5712 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.4229, allocations: 1.067 MB / 0.5722 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.4231, allocations: 100 kB / 0.5723 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007077/0.4238, allocations: 336.8 kB / 0.5727 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.4241, allocations: 392.1 kB / 0.573 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.4244, allocations: 325.1 kB / 0.5733 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.4262, allocations: 1.981 MB / 0.5753 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4262, allocations: 0 / 0.5753 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4262, allocations: 0 / 0.5753 GB, free: 32.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.4262, allocations: 2.406 kB / 0.5753 GB, free: 32.91 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.01324/0.4395, allocations: 3.906 MB / 0.5791 GB, free: 31.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4395, allocations: 7.719 kB / 0.5791 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005225/0.4401, allocations: 172.6 kB / 0.5793 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.4448, allocations: 0.785 MB / 0.58 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.4473, allocations: 1.198 MB / 0.5812 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.4477, allocations: 0.5064 MB / 0.5817 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.448, allocations: 127.1 kB / 0.5818 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.4511, allocations: 1.695 MB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.4511, allocations: 11.31 kB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.4513, allocations: 46.58 kB / 0.5835 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.4513, allocations: 27.91 kB / 0.5836 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.4546, allocations: 1.604 MB / 0.5851 GB, free: 28.74 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.01039/0.465, allocations: 5.834 MB / 0.5908 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009624/0.4747, allocations: 3.757 MB / 0.5945 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007223/0.4754, allocations: 0.7345 MB / 0.5952 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003702/0.4792, allocations: 1.255 MB / 0.5964 GB, free: 22.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 9.207e-06/0.4792, allocations: 0.9688 kB / 0.5964 GB, free: 22.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.0471/0.5263, allocations: 12.07 MB / 0.6082 GB, free: 20.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.5264, allocations: 144.4 kB / 0.6084 GB, free: 20.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.5294, allocations: 1.555 MB / 0.6099 GB, free: 19.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004386/0.5299, allocations: 56.14 kB / 0.6099 GB, free: 19.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.5304, allocations: 0.672 MB / 0.6106 GB, free: 19.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007249/0.5312, allocations: 0.4974 MB / 0.6111 GB, free: 18.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.5315, allocations: 40.5 kB / 0.6111 GB, free: 18.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5317, allocations: 383.8 kB / 0.6115 GB, free: 18.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/0.5345, allocations: 1.168 MB / 0.6126 GB, free: 17.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.5375, allocations: 1.389 MB / 0.614 GB, free: 17.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.5405, allocations: 1.245 MB / 0.6152 GB, free: 16.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.5405, allocations: 4 kB / 0.6152 GB, free: 16.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01038/0.5509, allocations: 4.416 MB / 0.6195 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.5512, allocations: 1.529 MB / 0.621 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5513, allocations: 4 kB / 0.621 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009587/0.5609, allocations: 3.179 MB / 0.6241 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.5627, allocations: 357.2 kB / 0.6245 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.5695, allocations: 3.677 MB / 0.628 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.5725, allocations: 334.9 kB / 0.6284 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/0.5728, allocations: 71.98 kB / 0.6284 GB, free: 2.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5729, allocations: 4 kB / 0.6284 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/0.583, allocations: 4.205 MB / 0.6325 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.5831, allocations: 4 kB / 0.6325 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.5933, allocations: 3.173 MB / 0.6356 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.5953, allocations: 347.5 kB / 0.636 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008023/0.6033, allocations: 3.659 MB / 0.6395 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.6063, allocations: 310.3 kB / 0.6398 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.6068, allocations: 75.97 kB / 0.6399 GB, free: 7.129 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.001228/0.608, allocations: 408.7 kB / 0.6403 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/0.6087, allocations: 185.7 kB / 0.6405 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/0.6274, allocations: 6.108 MB / 0.6464 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.6275, allocations: 17.59 kB / 0.6465 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.6275, allocations: 4 kB / 0.6465 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/0.6276, allocations: 7.969 kB / 0.6465 GB, free: 396 kB / 446.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.02309/0.6507, allocations: 8.393 MB / 0.6547 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.6507, allocations: 0 / 0.6547 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.652, allocations: 183.8 kB / 0.6548 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008156/0.6602, allocations: 2.513 MB / 0.6573 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003507/0.6606, allocations: 32.73 kB / 0.6573 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/0.6875, allocations: 10.89 MB / 0.668 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6875, allocations: 0 / 0.668 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/0.7091, allocations: 7.43 MB / 0.6752 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/0.71, allocations: 298.4 kB / 0.6755 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/0.7107, allocations: 28 kB / 0.6755 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/0.7129, allocations: 207.8 kB / 0.6757 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009962/0.714, allocations: 285.2 kB / 0.676 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/0.7142, allocations: 39.98 kB / 0.676 GB, free: 1.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.7161, allocations: 1.037 MB / 0.6771 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7161, allocations: 0 / 0.6771 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003268/0.7194, allocations: 0.9403 MB / 0.678 GB, free: 15.79 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.02142/0.7408, allocations: 8.167 MB / 0.6859 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01821/0.7591, allocations: 5.884 MB / 0.6917 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.7592, allocations: 256 / 0.6917 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00713/0.7663, allocations: 2.286 MB / 0.6939 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.768, allocations: 144 kB / 0.6941 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.7789, allocations: 7.285 MB / 0.7012 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/0.7799, allocations: 1.336 MB / 0.7025 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001166/0.7811, allocations: 210.6 kB / 0.7027 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.7822, allocations: 0.6867 MB / 0.7034 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.7822, allocations: 0 / 0.7034 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07761/0.8598, allocations: 48.51 MB / 0.7507 GB, free: 5.402 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.86, allocations: 189.5 kB / 0.7509 GB, free: 5.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.071, allocations: 0 / 0.7509 GB, free: 5.164 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1) Environment - environmentSimulation: