Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.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: translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001286, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.341/1.341, allocations: 222.9 MB / 240 MB, free: 4.5 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.001182/0.001182, allocations: 184.5 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5296/0.5296, allocations: 91.9 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 80.11 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3438, allocations: 71.26 MB / 0.5729 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.00488/0.3487, allocations: 6.066 MB / 0.5788 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3518, allocations: 1.802 MB / 0.5806 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.3522, allocations: 15.47 kB / 0.5806 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.3527, allocations: 244.6 kB / 0.5808 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009894/0.3537, allocations: 0.553 MB / 0.5813 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.355, allocations: 0.7726 MB / 0.5821 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.356, allocations: 1.417 MB / 0.5835 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.3564, allocations: 279.6 kB / 0.5838 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.3568, allocations: 0.5819 MB / 0.5843 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.3574, allocations: 0.7332 MB / 0.585 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.3575, allocations: 110 kB / 0.5851 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.3578, allocations: 222.1 kB / 0.5854 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.358, allocations: 291 kB / 0.5856 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.3584, allocations: 0.6089 MB / 0.5862 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009603/0.3593, allocations: 1.498 MB / 0.5877 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3594, allocations: 0 / 0.5877 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3594, allocations: 1.375 kB / 0.5877 GB, free: 28.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3594, allocations: 0 / 0.5877 GB, free: 28.59 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.007587/0.367, allocations: 2.547 MB / 0.5902 GB, free: 27.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.367, allocations: 10.75 kB / 0.5902 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.3711, allocations: 0.6778 MB / 0.5909 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3722, allocations: 0.7534 MB / 0.5916 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.3725, allocations: 355.7 kB / 0.5919 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3726, allocations: 75.5 kB / 0.592 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3747, allocations: 1.128 MB / 0.5931 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3747, allocations: 1.156 kB / 0.5931 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.3748, allocations: 37.73 kB / 0.5931 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.3748, allocations: 17.25 kB / 0.5932 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.3769, allocations: 1.07 MB / 0.5942 GB, free: 25.63 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.005969/0.3829, allocations: 3.717 MB / 0.5978 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007024/0.39, allocations: 2.503 MB / 0.6003 GB, free: 22.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.3916, allocations: 0.7624 MB / 0.601 GB, free: 22.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.3917, allocations: 12.53 kB / 0.601 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3918, allocations: 51.75 kB / 0.6011 GB, free: 22.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.585e-06/0.3918, allocations: 0 / 0.6011 GB, free: 22.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03248/0.4242, allocations: 7.988 MB / 0.6089 GB, free: 20.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4243, allocations: 92.64 kB / 0.609 GB, free: 20.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.4255, allocations: 0.8408 MB / 0.6098 GB, free: 20.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4257, allocations: 41.48 kB / 0.6098 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.4259, allocations: 455.1 kB / 0.6103 GB, free: 19.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.4262, allocations: 334 kB / 0.6106 GB, free: 19.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.4266, allocations: 165 kB / 0.6107 GB, free: 19.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.4266, allocations: 342.9 kB / 0.6111 GB, free: 19.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.428, allocations: 0.6577 MB / 0.6117 GB, free: 18.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.4294, allocations: 0.8024 MB / 0.6125 GB, free: 18.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/0.4442, allocations: 4.547 MB / 0.6169 GB, free: 16.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.4442, allocations: 5 kB / 0.6169 GB, free: 16.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01316/0.4574, allocations: 4.364 MB / 0.6212 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4574, allocations: 8 kB / 0.6212 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4574, allocations: 0 / 0.6212 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006053/0.4635, allocations: 2.081 MB / 0.6232 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.4641, allocations: 135.8 kB / 0.6234 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/0.4881, allocations: 10.62 MB / 0.6337 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4897, allocations: 163.1 kB / 0.6339 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4899, allocations: 35.98 kB / 0.6339 GB, free: 15.19 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.iq:VARIABLE(start = SPV.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 (86): * Single equations (assignments): 85 * 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.0005499/0.4905, allocations: 242 kB / 0.6342 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.4908, allocations: 114.6 kB / 0.6343 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.5049, allocations: 4.282 MB / 0.6385 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.5049, allocations: 8 kB / 0.6385 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5049, allocations: 4 kB / 0.6385 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.5049, allocations: 3.984 kB / 0.6385 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.5209, allocations: 5.76 MB / 0.6441 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.5209, allocations: 0 / 0.6441 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.5214, allocations: 95.89 kB / 0.6442 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006456/0.5279, allocations: 1.971 MB / 0.6461 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.528, allocations: 23.92 kB / 0.6461 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.5517, allocations: 9.398 MB / 0.6553 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.5518, allocations: 4 kB / 0.6553 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/0.568, allocations: 5.338 MB / 0.6605 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.5685, allocations: 199.6 kB / 0.6607 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.5688, allocations: 16 kB / 0.6607 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5702, allocations: 107.8 kB / 0.6608 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007823/0.571, allocations: 224.7 kB / 0.6611 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.957e-05/0.5711, allocations: 24 kB / 0.6611 GB, free: 3.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008422/0.5719, allocations: 0.5741 MB / 0.6616 GB, free: 2.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.572, allocations: 0 / 0.6616 GB, free: 2.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001539/0.5735, allocations: 435.5 kB / 0.662 GB, free: 2.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,SPV.x,SPV.id,SPV.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 (56): * Single equations (assignments): 55 * 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.0002609/0.5738, allocations: 125.8 kB / 0.6622 GB, free: 1.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007466/0.5813, allocations: 2.491 MB / 0.6646 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5813, allocations: 0 / 0.6646 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005449/0.5867, allocations: 1.703 MB / 0.6663 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.5878, allocations: 103.4 kB / 0.6664 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.5918, allocations: 2.077 MB / 0.6684 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.5925, allocations: 1.057 MB / 0.6694 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.5928, allocations: 86.47 kB / 0.6695 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.593, allocations: 59.44 kB / 0.6696 GB, free: 10.25 MB / 478.1 MB Notification: Performance of SimCode: time 6.22e-07/0.593, allocations: 0 / 0.6696 GB, free: 10.25 MB / 478.1 MB Notification: Performance of Templates: time 0.0418/0.6348, allocations: 27.04 MB / 0.696 GB, free: 15.2 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1)