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.0009267/0.0009267, allocations: 99.62 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.25/1.25, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.00118/0.00118, allocations: 188.5 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4334/0.4334, allocations: 79.44 MB / 420.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 12 kB / 0.489 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 69.51 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPVTest): time 0.1952/0.3129, allocations: 5.273 MB / 0.562 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.3155, allocations: 1.803 MB / 0.5638 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.3159, allocations: 11.22 kB / 0.5638 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3163, allocations: 169.7 kB / 0.564 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3173, allocations: 0.5265 MB / 0.5645 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3184, allocations: 0.646 MB / 0.5651 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3194, allocations: 0.9109 MB / 0.566 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.3198, allocations: 224.6 kB / 0.5662 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.3203, allocations: 0.5017 MB / 0.5667 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.3209, allocations: 0.6408 MB / 0.5673 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.321, allocations: 64.16 kB / 0.5674 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.3213, allocations: 146.8 kB / 0.5675 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.3215, allocations: 231.8 kB / 0.5677 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3216, allocations: 214.7 kB / 0.568 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.3224, allocations: 1.064 MB / 0.569 GB, free: 36.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3224, allocations: 1.406 kB / 0.569 GB, free: 36.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3224, allocations: 0 / 0.569 GB, free: 36.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3224, allocations: 0 / 0.569 GB, free: 36.04 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.007113/0.3295, allocations: 2.4 MB / 0.5713 GB, free: 35.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3296, allocations: 8.469 kB / 0.5713 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/0.3336, allocations: 0.6803 MB / 0.572 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/0.3346, allocations: 0.7251 MB / 0.5727 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.3348, allocations: 358.9 kB / 0.5731 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.335, allocations: 70.69 kB / 0.5731 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.337, allocations: 1.204 MB / 0.5743 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.337, allocations: 4.125 kB / 0.5743 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.3371, allocations: 30.08 kB / 0.5743 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.3371, allocations: 19.44 kB / 0.5744 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.3392, allocations: 1.154 MB / 0.5755 GB, free: 33.55 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.006105/0.3453, allocations: 3.942 MB / 0.5793 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007223/0.3526, allocations: 3.06 MB / 0.5823 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.3527, allocations: 15.23 kB / 0.5823 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3527, allocations: 46.44 kB / 0.5824 GB, free: 30.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.035e-06/0.3528, allocations: 0 / 0.5824 GB, free: 30.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03299/0.3858, allocations: 9.82 MB / 0.592 GB, free: 28.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3858, allocations: 88.89 kB / 0.5921 GB, free: 28.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.387, allocations: 0.8296 MB / 0.5929 GB, free: 28.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.3871, allocations: 39.48 kB / 0.5929 GB, free: 27.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.3874, allocations: 447.4 kB / 0.5933 GB, free: 27.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.3877, allocations: 338.9 kB / 0.5937 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.3878, allocations: 20.34 kB / 0.5937 GB, free: 27.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.3879, allocations: 342.9 kB / 0.594 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.3894, allocations: 0.7361 MB / 0.5947 GB, free: 26.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.3911, allocations: 0.8785 MB / 0.5956 GB, free: 26.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.3926, allocations: 0.7863 MB / 0.5963 GB, free: 26.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.3926, allocations: 1.5 kB / 0.5963 GB, free: 26.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01547/0.4081, allocations: 5.364 MB / 0.6016 GB, free: 25.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.4082, allocations: 10.2 kB / 0.6016 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4082, allocations: 3.094 kB / 0.6016 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007406/0.4156, allocations: 2.426 MB / 0.604 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.4163, allocations: 147.6 kB / 0.6041 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/0.4421, allocations: 11.62 MB / 0.6154 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4436, allocations: 207.5 kB / 0.6156 GB, free: 16.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.4437, allocations: 32 kB / 0.6157 GB, free: 16.34 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: SPV.iq:VARIABLE(start = SPV.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) 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 (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.0004184/0.4441, allocations: 240.5 kB / 0.6159 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.4443, allocations: 114.6 kB / 0.616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.458, allocations: 5.286 MB / 0.6212 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4581, allocations: 13.22 kB / 0.6212 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4581, allocations: 0 / 0.6212 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.4581, allocations: 3.984 kB / 0.6212 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.4735, allocations: 6.791 MB / 0.6278 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.4735, allocations: 5.875 kB / 0.6278 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.474, allocations: 87.89 kB / 0.6279 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006456/0.4805, allocations: 2.332 MB / 0.6302 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.4807, allocations: 16.88 kB / 0.6302 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/0.5052, allocations: 10.25 MB / 0.6402 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5052, allocations: 0 / 0.6402 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/0.5232, allocations: 6.424 MB / 0.6465 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.5238, allocations: 216.9 kB / 0.6467 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.5241, allocations: 19.94 kB / 0.6467 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.5253, allocations: 147.9 kB / 0.6469 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007551/0.5261, allocations: 220.7 kB / 0.6471 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.5261, allocations: 20.88 kB / 0.6471 GB, free: 15.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007457/0.5269, allocations: 0.5702 MB / 0.6476 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5269, allocations: 0 / 0.6476 GB, free: 15.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001432/0.5283, allocations: 439.5 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: 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 (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.0002323/0.5286, allocations: 127.1 kB / 0.6482 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007999/0.5366, allocations: 2.8 MB / 0.6509 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5366, allocations: 0 / 0.6509 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005868/0.5425, allocations: 1.943 MB / 0.6528 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.5432, allocations: 75.98 kB / 0.6529 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.5471, allocations: 2.495 MB / 0.6553 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.5478, allocations: 1.085 MB / 0.6564 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.5481, allocations: 84.41 kB / 0.6565 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.5483, allocations: 55.42 kB / 0.6565 GB, free: 6.137 MB / 462.1 MB Notification: Performance of SimCode: time 1.903e-06/0.5483, allocations: 0 / 0.6565 GB, free: 6.137 MB / 462.1 MB Notification: Performance of Templates: time 0.03363/0.582, allocations: 23.15 MB / 0.6791 GB, free: 15.14 MB / 494.1 MB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.pipe 2>&1)