Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",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.0009201/0.0009198, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.367/1.367, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.0009485/0.0009486, allocations: 179.6 kB / 290.6 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.5414/0.5414, allocations: 91.92 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003894, allocations: 16 kB / 0.5049 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3764, allocations: 72.46 MB / 0.5756 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004194/0.3806, allocations: 5.95 MB / 0.5814 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3833, allocations: 1.831 MB / 0.5832 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.3837, allocations: 11.62 kB / 0.5832 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.3841, allocations: 186.6 kB / 0.5834 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009732/0.3851, allocations: 0.4885 MB / 0.5839 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3863, allocations: 0.7214 MB / 0.5846 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3873, allocations: 1.328 MB / 0.5859 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.3876, allocations: 250.9 kB / 0.5861 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.388, allocations: 0.5045 MB / 0.5866 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.3886, allocations: 0.6737 MB / 0.5873 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3887, allocations: 61.12 kB / 0.5873 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.389, allocations: 169 kB / 0.5875 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3892, allocations: 233.2 kB / 0.5877 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.3895, allocations: 0.5779 MB / 0.5883 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.3904, allocations: 1.402 MB / 0.5897 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3905, allocations: 1.844 kB / 0.5897 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3905, allocations: 0 / 0.5897 GB, free: 28.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3905, allocations: 0 / 0.5897 GB, free: 28.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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007625/0.3981, allocations: 2.364 MB / 0.592 GB, free: 27.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3982, allocations: 9.5 kB / 0.592 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.3984, allocations: 124 kB / 0.5921 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/0.4026, allocations: 0.6764 MB / 0.5928 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4036, allocations: 0.7581 MB / 0.5935 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/0.4039, allocations: 351.4 kB / 0.5938 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4041, allocations: 76.31 kB / 0.5939 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.4064, allocations: 1.206 MB / 0.5951 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4064, allocations: 0 / 0.5951 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.4065, allocations: 30.09 kB / 0.5951 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.4066, allocations: 20.84 kB / 0.5951 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.409, allocations: 1.148 MB / 0.5963 GB, free: 25.3 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.006271/0.4153, allocations: 3.803 MB / 0.6 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008793/0.4241, allocations: 3.072 MB / 0.603 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.426, allocations: 0.8417 MB / 0.6038 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4261, allocations: 13.56 kB / 0.6038 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4261, allocations: 43.19 kB / 0.6038 GB, free: 21.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.695e-06/0.4261, allocations: 0 / 0.6038 GB, free: 21.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03926/0.4654, allocations: 9.992 MB / 0.6136 GB, free: 20.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4655, allocations: 92.2 kB / 0.6137 GB, free: 19.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4668, allocations: 0.834 MB / 0.6145 GB, free: 19.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.4669, allocations: 40.83 kB / 0.6145 GB, free: 19.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.4672, allocations: 450.6 kB / 0.615 GB, free: 19.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.4676, allocations: 328.1 kB / 0.6153 GB, free: 18.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4677, allocations: 86 kB / 0.6154 GB, free: 18.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.4678, allocations: 342.1 kB / 0.6157 GB, free: 18.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.4695, allocations: 0.7328 MB / 0.6164 GB, free: 18.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.4712, allocations: 0.8787 MB / 0.6173 GB, free: 17.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/0.4874, allocations: 5.057 MB / 0.6222 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4874, allocations: 0 / 0.6222 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01565/0.5031, allocations: 5.351 MB / 0.6274 GB, free: 8.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.5032, allocations: 8 kB / 0.6274 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.5032, allocations: 4 kB / 0.6274 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00716/0.5104, allocations: 2.444 MB / 0.6298 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.5111, allocations: 139.8 kB / 0.63 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02885/0.54, allocations: 11.07 MB / 0.6408 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.5417, allocations: 199.1 kB / 0.641 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/0.5418, allocations: 35.98 kB / 0.641 GB, free: 9.973 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-axis current" type: Real SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" fixed = true ) "q-axis current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004937/0.5423, allocations: 247.3 kB / 0.6412 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.5426, allocations: 102.7 kB / 0.6413 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/0.5602, allocations: 5.329 MB / 0.6465 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.5602, allocations: 12 kB / 0.6466 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5603, allocations: 4 kB / 0.6466 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/0.5603, allocations: 3.984 kB / 0.6466 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.5805, allocations: 6.756 MB / 0.6532 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.5805, allocations: 0 / 0.6532 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/0.5812, allocations: 87.83 kB / 0.6532 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008494/0.5897, allocations: 2.335 MB / 0.6555 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.59, allocations: 19.98 kB / 0.6555 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02709/0.6171, allocations: 9.739 MB / 0.665 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.6171, allocations: 3.938 kB / 0.6651 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/0.637, allocations: 6.368 MB / 0.6713 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.6375, allocations: 207.5 kB / 0.6715 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.6377, allocations: 19.98 kB / 0.6715 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6389, allocations: 147.8 kB / 0.6716 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/0.6397, allocations: 220.6 kB / 0.6718 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.6398, allocations: 27.98 kB / 0.6719 GB, free: 10.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007918/0.6406, allocations: 0.57 MB / 0.6724 GB, free: 9.441 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6406, allocations: 0 / 0.6724 GB, free: 9.441 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001316/0.6419, allocations: 427.6 kB / 0.6728 GB, free: 9.023 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.iq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01993/0.6618, allocations: 6.933 MB / 0.6796 GB, free: 2.055 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00865/0.6705, allocations: 2.78 MB / 0.6823 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.6706, allocations: 8.25 kB / 0.6823 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006473/0.6771, allocations: 1.931 MB / 0.6842 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6782, allocations: 103.2 kB / 0.6843 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04684/0.725, allocations: 18.4 MB / 0.7023 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.7257, allocations: 1.065 MB / 0.7033 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003751/0.7261, allocations: 74.45 kB / 0.7034 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.7266, allocations: 411.2 kB / 0.7038 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.7266, allocations: 0 / 0.7038 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.7825, allocations: 32.29 MB / 0.7353 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.7827, allocations: 215.9 kB / 0.7355 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.452, allocations: 0 / 0.7355 GB, free: 8.449 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)