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.0007926/0.0007925, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.309/1.309, allocations: 223.2 MB / 239 MB, free: 5.473 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.001331/0.001331, allocations: 172.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4739/0.4739, allocations: 79.47 MB / 420.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 16 kB / 0.4892 GB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4155, allocations: 69.5 MB / 0.5571 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A): time 0.007339/0.4229, allocations: 8.315 MB / 0.5652 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005874/0.4288, allocations: 2.844 MB / 0.568 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.4307, allocations: 24 kB / 0.568 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.4318, allocations: 248.1 kB / 0.5683 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.4348, allocations: 0.8481 MB / 0.5691 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.4369, allocations: 0.8095 MB / 0.5699 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00306/0.44, allocations: 2.242 MB / 0.5721 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007299/0.4407, allocations: 426.7 kB / 0.5725 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.4421, allocations: 0.8211 MB / 0.5733 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.4432, allocations: 1.072 MB / 0.5743 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.4435, allocations: 97.69 kB / 0.5744 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007672/0.4442, allocations: 354.9 kB / 0.5748 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.4445, allocations: 391 kB / 0.5751 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.4449, allocations: 329.8 kB / 0.5754 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.4465, allocations: 2.009 MB / 0.5774 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4466, allocations: 1 kB / 0.5774 GB, free: 31.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4466, allocations: 0 / 0.5774 GB, free: 31.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.4466, allocations: 2.906 kB / 0.5774 GB, free: 31.53 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.01065/0.4573, allocations: 3.607 MB / 0.5809 GB, free: 30.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4573, allocations: 9.094 kB / 0.5809 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003756/0.4577, allocations: 178.6 kB / 0.5811 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.462, allocations: 0.7862 MB / 0.5819 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.464, allocations: 1.195 MB / 0.583 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000421/0.4644, allocations: 0.51 MB / 0.5835 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.4646, allocations: 129.6 kB / 0.5837 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.4675, allocations: 1.702 MB / 0.5853 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.4675, allocations: 6.312 kB / 0.5853 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.4676, allocations: 43.59 kB / 0.5854 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.4677, allocations: 27.47 kB / 0.5854 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.4709, allocations: 1.607 MB / 0.587 GB, free: 27.4 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.009015/0.4799, allocations: 5.703 MB / 0.5925 GB, free: 24.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008888/0.4888, allocations: 3.766 MB / 0.5962 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.4913, allocations: 1.097 MB / 0.5973 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.4919, allocations: 0.7431 MB / 0.598 GB, free: 21.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003064/0.495, allocations: 1.258 MB / 0.5992 GB, free: 21.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=139): time 8.375e-06/0.495, allocations: 0 / 0.5992 GB, free: 21.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.0418/0.5368, allocations: 12.06 MB / 0.611 GB, free: 19.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.5369, allocations: 148.3 kB / 0.6112 GB, free: 18.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/0.5404, allocations: 1.55 MB / 0.6127 GB, free: 18.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000447/0.5409, allocations: 60.53 kB / 0.6127 GB, free: 17.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000586/0.5415, allocations: 0.6642 MB / 0.6134 GB, free: 17.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008105/0.5423, allocations: 0.5014 MB / 0.6139 GB, free: 16.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/0.5427, allocations: 44.44 kB / 0.6139 GB, free: 16.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5429, allocations: 383.1 kB / 0.6143 GB, free: 16.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/0.5457, allocations: 1.165 MB / 0.6154 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.5487, allocations: 1.401 MB / 0.6168 GB, free: 15.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.5514, allocations: 1.246 MB / 0.618 GB, free: 13.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.5514, allocations: 4 kB / 0.618 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.009784/0.5612, allocations: 4.414 MB / 0.6223 GB, free: 9.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.5613, allocations: 213.8 kB / 0.6225 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5614, allocations: 4 kB / 0.6225 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/0.57, allocations: 3.169 MB / 0.6256 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.5718, allocations: 356.8 kB / 0.626 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.5781, allocations: 3.675 MB / 0.6295 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.5809, allocations: 347.1 kB / 0.6299 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/0.5813, allocations: 71.97 kB / 0.6299 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5813, allocations: 4 kB / 0.63 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/0.5914, allocations: 4.208 MB / 0.6341 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.5914, allocations: 4 kB / 0.6341 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009339/0.6008, allocations: 3.159 MB / 0.6371 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.6027, allocations: 347.5 kB / 0.6375 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007288/0.61, allocations: 3.663 MB / 0.6411 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.6128, allocations: 302.4 kB / 0.6413 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/0.6132, allocations: 76.98 kB / 0.6414 GB, free: 5.789 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.001373/0.6146, allocations: 413.6 kB / 0.6418 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007426/0.6154, allocations: 181.7 kB / 0.642 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/0.6322, allocations: 6.116 MB / 0.648 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.6322, allocations: 16 kB / 0.648 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.6323, allocations: 4.469 kB / 0.648 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/0.6323, allocations: 13.75 kB / 0.648 GB, free: 15.03 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.02217/0.6545, allocations: 8.329 MB / 0.6561 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/0.6546, allocations: 4 kB / 0.6561 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.6559, allocations: 184.6 kB / 0.6563 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007475/0.6633, allocations: 2.518 MB / 0.6588 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/0.6637, allocations: 31.98 kB / 0.6588 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02483/0.6886, allocations: 10.31 MB / 0.6689 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6886, allocations: 0 / 0.6689 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02063/0.7093, allocations: 7.388 MB / 0.6761 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/0.7102, allocations: 298.4 kB / 0.6764 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007361/0.7109, allocations: 29.38 kB / 0.6764 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/0.7131, allocations: 207.8 kB / 0.6766 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/0.7141, allocations: 289.2 kB / 0.6769 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/0.7143, allocations: 35.98 kB / 0.6769 GB, free: 1.098 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.7164, allocations: 1.037 MB / 0.6779 GB, free: 68 kB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7164, allocations: 0 / 0.6779 GB, free: 68 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.003633/0.72, allocations: 0.9403 MB / 0.6788 GB, free: 15.12 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.01973/0.7398, allocations: 8.01 MB / 0.6867 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01665/0.7565, allocations: 5.89 MB / 0.6924 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.7565, allocations: 0 / 0.6924 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006493/0.763, allocations: 2.287 MB / 0.6946 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.7654, allocations: 155.7 kB / 0.6948 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/0.7992, allocations: 15.74 MB / 0.7102 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.8004, allocations: 1.3 MB / 0.7114 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001281/0.8017, allocations: 207.2 kB / 0.7116 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.8029, allocations: 0.6906 MB / 0.7123 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.8029, allocations: 4 kB / 0.7123 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09126/0.8942, allocations: 50.33 MB / 0.7614 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/0.8945, allocations: 200.3 kB / 0.7616 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/4.29, allocations: 0 / 0.7616 GB, free: 9.695 MB / 0.5606 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: