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.0009037/0.0009041, allocations: 86.72 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.421/1.421, allocations: 223.2 MB / 239 MB, free: 5.449 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.001113/0.001113, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4756/0.4756, allocations: 79.47 MB / 420.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 12 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3946, allocations: 69.5 MB / 0.5571 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005392/0.4001, allocations: 5.554 MB / 0.5625 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.4039, allocations: 1.755 MB / 0.5642 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007485/0.4047, allocations: 11.41 kB / 0.5642 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.4052, allocations: 168.2 kB / 0.5644 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.4064, allocations: 489.3 kB / 0.5649 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.4078, allocations: 0.6354 MB / 0.5655 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.4092, allocations: 1.27 MB / 0.5667 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.4096, allocations: 226.8 kB / 0.5669 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.4101, allocations: 495.3 kB / 0.5674 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.4108, allocations: 0.6505 MB / 0.5681 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.4109, allocations: 60.16 kB / 0.5681 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.4113, allocations: 165 kB / 0.5683 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.4115, allocations: 225.1 kB / 0.5685 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.4117, allocations: 209.2 kB / 0.5687 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008606/0.4126, allocations: 1.101 MB / 0.5698 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4126, allocations: 1.875 kB / 0.5698 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4126, allocations: 0.9688 kB / 0.5698 GB, free: 35.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4126, allocations: 0 / 0.5698 GB, free: 35.46 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.006682/0.4193, allocations: 2.384 MB / 0.5721 GB, free: 34.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4194, allocations: 11.78 kB / 0.5721 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/0.4196, allocations: 122.7 kB / 0.5722 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/0.4234, allocations: 0.6821 MB / 0.5729 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4247, allocations: 0.718 MB / 0.5736 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/0.425, allocations: 356.6 kB / 0.5739 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.4252, allocations: 75.61 kB / 0.574 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.4273, allocations: 1.198 MB / 0.5752 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.4273, allocations: 0 / 0.5752 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.4274, allocations: 33.45 kB / 0.5752 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4274, allocations: 19.52 kB / 0.5752 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.4295, allocations: 1.147 MB / 0.5763 GB, free: 33.07 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.006585/0.4361, allocations: 3.79 MB / 0.58 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006705/0.4429, allocations: 3.068 MB / 0.583 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.4447, allocations: 0.8352 MB / 0.5838 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.4449, allocations: 19.02 kB / 0.5839 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4449, allocations: 43.97 kB / 0.5839 GB, free: 29.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.416e-06/0.4449, allocations: 0 / 0.5839 GB, free: 29.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03242/0.4774, allocations: 9.945 MB / 0.5936 GB, free: 27.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.4775, allocations: 91.73 kB / 0.5937 GB, free: 27.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.4789, allocations: 0.8214 MB / 0.5945 GB, free: 27.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.4791, allocations: 44.89 kB / 0.5946 GB, free: 27.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.4795, allocations: 442.8 kB / 0.595 GB, free: 26.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.4798, allocations: 332.5 kB / 0.5953 GB, free: 26.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.4799, allocations: 20.03 kB / 0.5953 GB, free: 26.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.48, allocations: 343.7 kB / 0.5956 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.4815, allocations: 0.7281 MB / 0.5964 GB, free: 26.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.4831, allocations: 0.8763 MB / 0.5972 GB, free: 25.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.4846, allocations: 0.778 MB / 0.598 GB, free: 25.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4847, allocations: 1.344 kB / 0.598 GB, free: 25.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01596/0.5006, allocations: 5.35 MB / 0.6032 GB, free: 24.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.5007, allocations: 12.45 kB / 0.6032 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.5007, allocations: 3.25 kB / 0.6032 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008085/0.5088, allocations: 2.43 MB / 0.6056 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.5097, allocations: 138.7 kB / 0.6057 GB, free: 23.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/0.5358, allocations: 11.07 MB / 0.6165 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5375, allocations: 199.2 kB / 0.6167 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.5377, allocations: 32 kB / 0.6167 GB, free: 15.35 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.0006971/0.5384, allocations: 235.1 kB / 0.617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.5388, allocations: 110.6 kB / 0.6171 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.5518, allocations: 5.329 MB / 0.6223 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.5519, allocations: 11.94 kB / 0.6223 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5519, allocations: 1.5 kB / 0.6223 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.5519, allocations: 3.984 kB / 0.6223 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.567, allocations: 6.742 MB / 0.6289 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.5671, allocations: 0 / 0.6289 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.5676, allocations: 91.89 kB / 0.629 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006104/0.5737, allocations: 2.332 MB / 0.6312 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/0.574, allocations: 20 kB / 0.6313 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/0.5971, allocations: 9.72 MB / 0.6408 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5971, allocations: 0 / 0.6408 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.6133, allocations: 6.361 MB / 0.647 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.6139, allocations: 207.6 kB / 0.6472 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.6143, allocations: 19.95 kB / 0.6472 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.6156, allocations: 143.9 kB / 0.6473 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007669/0.6164, allocations: 224.5 kB / 0.6475 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.6165, allocations: 20 kB / 0.6476 GB, free: 15.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009322/0.6175, allocations: 0.5661 MB / 0.6481 GB, free: 14.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6175, allocations: 1.781 kB / 0.6481 GB, free: 14.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001886/0.6194, allocations: 435.6 kB / 0.6485 GB, free: 14.47 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.01695/0.6363, allocations: 6.922 MB / 0.6553 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008113/0.6445, allocations: 2.785 MB / 0.658 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6446, allocations: 3.938 kB / 0.658 GB, free: 4.711 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005812/0.6504, allocations: 1.922 MB / 0.6599 GB, free: 2.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.6518, allocations: 92.16 kB / 0.66 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/0.6794, allocations: 11.44 MB / 0.6711 GB, free: 7.004 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/0.6802, allocations: 1.059 MB / 0.6722 GB, free: 5.918 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000461/0.6807, allocations: 81.27 kB / 0.6723 GB, free: 5.836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006356/0.6814, allocations: 403.3 kB / 0.6726 GB, free: 5.441 MB / 478.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6814, allocations: 0 / 0.6726 GB, free: 5.441 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05932/0.7407, allocations: 32.01 MB / 0.7039 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.741, allocations: 191 kB / 0.7041 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.725, allocations: 2.625 kB / 0.7041 GB, free: 5.52 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: