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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.493/1.493, allocations: 222.9 MB / 238.9 MB, free: 4.738 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.001762/0.001762, allocations: 200.4 kB / 289.2 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5282/0.5282, allocations: 91.9 MB / 431.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 75.88 kB / 0.5013 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4117, allocations: 71.26 MB / 0.5709 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005417/0.4171, allocations: 6.395 MB / 0.5771 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.42, allocations: 1.854 MB / 0.579 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.4204, allocations: 10.34 kB / 0.579 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.4209, allocations: 201.2 kB / 0.5792 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.422, allocations: 496.3 kB / 0.5796 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.4234, allocations: 0.7224 MB / 0.5803 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.4245, allocations: 1.331 MB / 0.5816 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.4249, allocations: 251.1 kB / 0.5819 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.4253, allocations: 0.5209 MB / 0.5824 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.426, allocations: 0.6989 MB / 0.5831 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.4261, allocations: 70.62 kB / 0.5831 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.4265, allocations: 178.1 kB / 0.5833 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.4267, allocations: 249.6 kB / 0.5835 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.4271, allocations: 0.57 MB / 0.5841 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.4282, allocations: 1.432 MB / 0.5855 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4282, allocations: 0.8438 kB / 0.5855 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4282, allocations: 0 / 0.5855 GB, free: 28.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.4282, allocations: 3.156 kB / 0.5855 GB, free: 28.16 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.009058/0.4373, allocations: 2.52 MB / 0.588 GB, free: 27.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.662e-05/0.4374, allocations: 14.66 kB / 0.588 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.4376, allocations: 124.9 kB / 0.5881 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004269/0.4419, allocations: 0.671 MB / 0.5888 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.4432, allocations: 0.7598 MB / 0.5895 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.4436, allocations: 342.3 kB / 0.5898 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.4438, allocations: 72 kB / 0.5899 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.4463, allocations: 1.126 MB / 0.591 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.4463, allocations: 0 / 0.591 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.747e-05/0.4464, allocations: 26.09 kB / 0.591 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.4465, allocations: 16.88 kB / 0.591 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.4488, allocations: 1.069 MB / 0.5921 GB, free: 25.15 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.006296/0.4551, allocations: 3.712 MB / 0.5957 GB, free: 22.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/0.4624, allocations: 2.513 MB / 0.5982 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.464, allocations: 0.7593 MB / 0.5989 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.4642, allocations: 14.77 kB / 0.5989 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4642, allocations: 46.5 kB / 0.599 GB, free: 21.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.126e-06/0.4642, allocations: 1.469 kB / 0.599 GB, free: 21.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03525/0.4995, allocations: 8.094 MB / 0.6069 GB, free: 20.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.4996, allocations: 87.81 kB / 0.6069 GB, free: 20.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.5011, allocations: 0.8337 MB / 0.6078 GB, free: 19.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.5013, allocations: 41.73 kB / 0.6078 GB, free: 19.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.5016, allocations: 449.5 kB / 0.6082 GB, free: 19.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.502, allocations: 321 kB / 0.6085 GB, free: 19.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.5024, allocations: 166.2 kB / 0.6087 GB, free: 18.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.5025, allocations: 342.7 kB / 0.609 GB, free: 18.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.504, allocations: 0.653 MB / 0.6097 GB, free: 18.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.5057, allocations: 0.7984 MB / 0.6104 GB, free: 18.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/0.5215, allocations: 4.507 MB / 0.6148 GB, free: 16.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.5216, allocations: 1.156 kB / 0.6148 GB, free: 16.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0137/0.5353, allocations: 4.34 MB / 0.6191 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.5354, allocations: 8 kB / 0.6191 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5354, allocations: 4 kB / 0.6191 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/0.5415, allocations: 2.084 MB / 0.6211 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.5422, allocations: 143.8 kB / 0.6213 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/0.5654, allocations: 9.771 MB / 0.6308 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.5671, allocations: 155.2 kB / 0.6309 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.5674, allocations: 39.98 kB / 0.631 GB, free: 0.5078 MB / 430.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.0006659/0.568, allocations: 235.3 kB / 0.6312 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.5684, allocations: 110.7 kB / 0.6313 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/0.5835, allocations: 4.317 MB / 0.6355 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.5835, allocations: 8 kB / 0.6355 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5836, allocations: 0 / 0.6355 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.5836, allocations: 11.97 kB / 0.6356 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.6004, allocations: 5.725 MB / 0.6411 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.6004, allocations: 0 / 0.6411 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.601, allocations: 87.84 kB / 0.6412 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007027/0.6081, allocations: 1.975 MB / 0.6432 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.6083, allocations: 27.98 kB / 0.6432 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02423/0.6326, allocations: 8.587 MB / 0.6516 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6326, allocations: 0 / 0.6516 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.6494, allocations: 5.27 MB / 0.6567 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.6499, allocations: 195.6 kB / 0.6569 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.6504, allocations: 19.98 kB / 0.6569 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.6518, allocations: 107.8 kB / 0.657 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008283/0.6526, allocations: 212.6 kB / 0.6572 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.6527, allocations: 27.98 kB / 0.6573 GB, free: 5.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.6538, allocations: 0.5739 MB / 0.6578 GB, free: 4.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6538, allocations: 0 / 0.6578 GB, free: 4.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001883/0.6557, allocations: 431.6 kB / 0.6582 GB, free: 4.266 MB / 462.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.01739/0.6731, allocations: 5.835 MB / 0.6639 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00806/0.6812, allocations: 2.419 MB / 0.6663 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6812, allocations: 3.938 kB / 0.6663 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005998/0.6872, allocations: 1.654 MB / 0.6679 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6888, allocations: 99.25 kB / 0.668 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04299/0.7318, allocations: 16.2 MB / 0.6838 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.7327, allocations: 1.057 MB / 0.6849 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.7332, allocations: 86.44 kB / 0.6849 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.7339, allocations: 395.3 kB / 0.6853 GB, free: 8.051 MB / 494.1 MB Notification: Performance of SimCode: time 2.184e-06/0.7339, allocations: 0 / 0.6853 GB, free: 8.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06566/0.7996, allocations: 32.88 MB / 0.7174 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.7998, allocations: 216.7 kB / 0.7176 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.599, allocations: 0 / 0.7176 GB, free: 7.035 MB / 0.5137 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)