Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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/Complex 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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 103 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1632/0.1632, allocations: 5.369 MB / 296.4 MB, free: 3.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 11.94 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 51.6 MB / 413.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.006271/0.1253, allocations: 5.198 MB / 418.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.13, allocations: 2.365 MB / 421 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.1311, allocations: 16 kB / 421 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1324, allocations: 330.2 kB / 421.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.1346, allocations: 0.662 MB / 422 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.1355, allocations: 247.5 kB / 422.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.1371, allocations: 0.7256 MB / 422.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2309/0.3681, allocations: 1.202 MB / 424.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3691, allocations: 363.6 kB / 424.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.3698, allocations: 457.4 kB / 424.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.37, allocations: 50.97 kB / 425 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006674/0.3707, allocations: 181.5 kB / 425.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.3709, allocations: 165.9 kB / 425.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.3711, allocations: 196.2 kB / 425.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3722, allocations: 1.118 MB / 426.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3722, allocations: 2.516 kB / 426.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3722, allocations: 0 / 426.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3722, allocations: 0 / 426.6 MB, free: 37.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003047/0.3753, allocations: 1.366 MB / 428 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3753, allocations: 9.906 kB / 428 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.3772, allocations: 355.3 kB / 428.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.3785, allocations: 0.6702 MB / 429 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.3786, allocations: 73.47 kB / 429.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.3787, allocations: 93.14 kB / 429.2 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.3805, allocations: 0.9845 MB / 430.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.3806, allocations: 3.906 kB / 430.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.3807, allocations: 41.09 kB / 430.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.3807, allocations: 21.88 kB / 430.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.3824, allocations: 0.8494 MB / 431.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.3879, allocations: 3.898 MB / 435 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3897, allocations: 1.492 MB / 436.5 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/0.3898, allocations: 83.58 kB / 436.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006154/0.3904, allocations: 331.3 kB / 436.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.3904, allocations: 4 kB / 436.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002716/0.3932, allocations: 0.9961 MB / 437.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.3933, allocations: 142.5 kB / 438 MB, free: 32.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.3939, allocations: 0.494 MB / 438.5 MB, free: 32.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.3939, allocations: 31.7 kB / 438.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.3942, allocations: 459.4 kB / 439 MB, free: 32.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3944, allocations: 166.5 kB / 439.2 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.3944, allocations: 16.38 kB / 439.2 MB, free: 32.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3945, allocations: 365.2 kB / 439.5 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.395, allocations: 244.9 kB / 439.8 MB, free: 32.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.3955, allocations: 428.9 kB / 440.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.396, allocations: 331.3 kB / 440.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3961, allocations: 1.859 kB / 440.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001438/0.3975, allocations: 0.859 MB / 441.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.3976, allocations: 36.06 kB / 441.4 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3976, allocations: 6.531 kB / 441.4 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.3981, allocations: 85.3 kB / 441.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.3987, allocations: 176.4 kB / 441.7 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4, allocations: 1.473 MB / 443.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.4006, allocations: 96.92 kB / 443.3 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.4006, allocations: 35.88 kB / 443.3 MB, free: 30.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.401, allocations: 269.9 kB / 443.6 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.401, allocations: 64.83 kB / 443.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.4023, allocations: 0.7149 MB / 444.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4023, allocations: 3.094 kB / 444.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4023, allocations: 4.688 kB / 444.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4023, allocations: 3.422 kB / 444.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.4058, allocations: 1.761 MB / 446.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4058, allocations: 3.094 kB / 446.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.4061, allocations: 80.62 kB / 446.2 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.4067, allocations: 263.9 kB / 446.4 MB, free: 29.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.4067, allocations: 15.16 kB / 446.5 MB, free: 29.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.4076, allocations: 0.8338 MB / 447.3 MB, free: 28.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4076, allocations: 0 / 447.3 MB, free: 28.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.4105, allocations: 1.253 MB / 448.5 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.4107, allocations: 175.8 kB / 448.7 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.4108, allocations: 19.33 kB / 448.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.4112, allocations: 49.83 kB / 448.8 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.4113, allocations: 19.75 kB / 448.8 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.4113, allocations: 20.08 kB / 448.8 MB, free: 28.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003743/0.4117, allocations: 346.7 kB / 449.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4117, allocations: 0 / 449.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.4126, allocations: 235.4 kB / 449.4 MB, free: 28.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.4128, allocations: 149 kB / 449.5 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.4142, allocations: 0.7678 MB / 450.3 MB, free: 27.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4142, allocations: 0 / 450.3 MB, free: 27.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.4147, allocations: 341.5 kB / 450.6 MB, free: 27.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.4152, allocations: 87.53 kB / 450.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.4176, allocations: 1.695 MB / 452.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.418, allocations: 0.9617 MB / 453.4 MB, free: 25.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003519/0.4184, allocations: 84.73 kB / 453.5 MB, free: 25.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.4185, allocations: 50.7 kB / 453.5 MB, free: 25.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4185, allocations: 2.906 kB / 453.5 MB, free: 25.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01305/0.4316, allocations: 7.288 MB / 460.8 MB, free: 25.19 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) Environment - environmentSimulation: