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.001044/0.001044, 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.363/1.363, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001521/0.001521, allocations: 189.1 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4454/0.4454, allocations: 79.46 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 12 kB / 0.4891 GB, free: 5.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3744, allocations: 69.51 MB / 0.557 GB, free: 37.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004532/0.379, allocations: 5.242 MB / 0.5621 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.3826, allocations: 1.793 MB / 0.5638 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.3832, allocations: 13.69 kB / 0.5638 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.3838, allocations: 174.2 kB / 0.564 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3851, allocations: 0.5253 MB / 0.5645 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3864, allocations: 0.642 MB / 0.5652 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3875, allocations: 0.9033 MB / 0.566 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.3878, allocations: 225.3 kB / 0.5662 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.3884, allocations: 0.4906 MB / 0.5667 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.389, allocations: 0.6334 MB / 0.5673 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.3892, allocations: 60.91 kB / 0.5674 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.3895, allocations: 155.5 kB / 0.5676 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3897, allocations: 221.4 kB / 0.5678 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3898, allocations: 211.7 kB / 0.568 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.3906, allocations: 1.057 MB / 0.569 GB, free: 36.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3906, allocations: 2.719 kB / 0.569 GB, free: 36.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3906, allocations: 3.938 kB / 0.569 GB, free: 36.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.3906, allocations: 0 / 0.569 GB, free: 36.34 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.007129/0.3978, allocations: 2.387 MB / 0.5713 GB, free: 35.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3978, allocations: 11.97 kB / 0.5713 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.398, allocations: 127.1 kB / 0.5715 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/0.4019, allocations: 0.6742 MB / 0.5721 GB, free: 35.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4029, allocations: 0.7172 MB / 0.5728 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.4032, allocations: 352.6 kB / 0.5732 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.4033, allocations: 73.64 kB / 0.5732 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.4055, allocations: 1.199 MB / 0.5744 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4055, allocations: 0.75 kB / 0.5744 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.4056, allocations: 33.67 kB / 0.5744 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.4056, allocations: 17.06 kB / 0.5745 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.4078, allocations: 1.144 MB / 0.5756 GB, free: 33.73 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.005643/0.4134, allocations: 3.921 MB / 0.5794 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.4205, allocations: 3.056 MB / 0.5824 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.4206, allocations: 15.56 kB / 0.5824 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4206, allocations: 50.66 kB / 0.5824 GB, free: 30.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.816e-06/0.4206, allocations: 0 / 0.5824 GB, free: 30.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03476/0.4554, allocations: 9.948 MB / 0.5922 GB, free: 28.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.4555, allocations: 91.78 kB / 0.5922 GB, free: 28.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.4568, allocations: 0.8287 MB / 0.5931 GB, free: 28.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00025/0.4571, allocations: 42.27 kB / 0.5931 GB, free: 28.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.4574, allocations: 437.5 kB / 0.5935 GB, free: 27.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.4577, allocations: 329.6 kB / 0.5938 GB, free: 27.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.4578, allocations: 20.47 kB / 0.5938 GB, free: 27.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.4579, allocations: 346.6 kB / 0.5942 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.4595, allocations: 0.7281 MB / 0.5949 GB, free: 26.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.4613, allocations: 0.8667 MB / 0.5957 GB, free: 26.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.463, allocations: 0.7773 MB / 0.5965 GB, free: 26.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.463, allocations: 1.219 kB / 0.5965 GB, free: 26.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01626/0.4792, allocations: 5.355 MB / 0.6017 GB, free: 25.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4793, allocations: 10.45 kB / 0.6017 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4793, allocations: 3.812 kB / 0.6017 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00763/0.487, allocations: 2.432 MB / 0.6041 GB, free: 24.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.4878, allocations: 138.2 kB / 0.6042 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02611/0.5139, allocations: 11.62 MB / 0.6156 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.5155, allocations: 199.2 kB / 0.6158 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.5156, allocations: 32 kB / 0.6158 GB, free: 16.25 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-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 (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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004658/0.516, allocations: 239.7 kB / 0.616 GB, free: 16.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.5162, allocations: 111.6 kB / 0.6162 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.5298, allocations: 5.333 MB / 0.6214 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.5299, allocations: 12 kB / 0.6214 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5299, allocations: 0 / 0.6214 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.5299, allocations: 3.984 kB / 0.6214 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/0.5503, allocations: 6.747 MB / 0.628 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.348e-05/0.5504, allocations: 0 / 0.628 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.5512, allocations: 91.83 kB / 0.628 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007774/0.559, allocations: 2.338 MB / 0.6303 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.5593, allocations: 16 kB / 0.6303 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03292/0.5922, allocations: 10.26 MB / 0.6404 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5923, allocations: 3.984 kB / 0.6404 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.61, allocations: 6.37 MB / 0.6466 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.6106, allocations: 203.5 kB / 0.6468 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.6108, allocations: 16 kB / 0.6468 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.612, allocations: 149.2 kB / 0.6469 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007234/0.6128, allocations: 224.6 kB / 0.6472 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.6129, allocations: 23.98 kB / 0.6472 GB, free: 15.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.6136, allocations: 0.5583 MB / 0.6477 GB, free: 15.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6137, allocations: 4 kB / 0.6477 GB, free: 15.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001501/0.6152, allocations: 423.6 kB / 0.6481 GB, free: 14.82 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 (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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01778/0.633, allocations: 7.015 MB / 0.655 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008112/0.6411, allocations: 2.788 MB / 0.6577 GB, free: 4.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6412, allocations: 0 / 0.6577 GB, free: 4.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005899/0.6471, allocations: 1.926 MB / 0.6596 GB, free: 3.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.6479, allocations: 76.48 kB / 0.6597 GB, free: 2.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.6534, allocations: 5.295 MB / 0.6648 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.6541, allocations: 1.073 MB / 0.6659 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.6545, allocations: 80.66 kB / 0.666 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.655, allocations: 399.3 kB / 0.6663 GB, free: 12.01 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.655, allocations: 9.219 kB / 0.6663 GB, free: 12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05084/0.7058, allocations: 31.47 MB / 0.6971 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.706, allocations: 194.8 kB / 0.6973 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.427, allocations: 0 / 0.6973 GB, free: 12.62 MB / 0.4981 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/linux/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) Environment - environmentSimulation: