Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005629/0.005628, allocations: 100.1 kB / 15.73 MB, free: 6.051 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.001172/0.001172, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.134/0.134, allocations: 5.385 MB / 295.9 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2736, allocations: 50.61 MB / 463.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004102/0.2777, allocations: 3.514 MB / 466.9 MB, free: 19.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2796, allocations: 1.285 MB / 468.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.2798, allocations: 9.281 kB / 468.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.2803, allocations: 219.6 kB / 468.4 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.2807, allocations: 163.4 kB / 468.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2809, allocations: 113.6 kB / 468.7 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.2815, allocations: 0.6094 MB / 469.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2817, allocations: 122.9 kB / 469.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2819, allocations: 225.1 kB / 469.6 MB, free: 17.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.2823, allocations: 268.9 kB / 469.9 MB, free: 17.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.2823, allocations: 55 kB / 470 MB, free: 17.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2825, allocations: 70.52 kB / 470 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.2825, allocations: 113.7 kB / 470.1 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.2827, allocations: 244.4 kB / 470.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.2833, allocations: 0.5565 MB / 470.9 MB, free: 16.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2833, allocations: 0 / 470.9 MB, free: 16.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2833, allocations: 5.312 kB / 470.9 MB, free: 16.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2834, allocations: 0 / 470.9 MB, free: 16.85 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001847/0.2852, allocations: 0.8352 MB / 471.8 MB, free: 16.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2853, allocations: 9.391 kB / 471.8 MB, free: 16.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.2854, allocations: 47.72 kB / 471.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.2866, allocations: 0.5111 MB / 472.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2866, allocations: 28.34 kB / 472.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.2867, allocations: 25.72 kB / 472.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.2874, allocations: 364.6 kB / 472.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2875, allocations: 0 / 472.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.2875, allocations: 10.88 kB / 472.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2875, allocations: 6.594 kB / 472.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/0.2885, allocations: 372.8 kB / 473.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.2907, allocations: 1.413 MB / 474.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2918, allocations: 441.8 kB / 475 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.2923, allocations: 164 kB / 475.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.2923, allocations: 2.75 kB / 475.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.2923, allocations: 39.91 kB / 475.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.2923, allocations: 0 / 475.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005415/0.2978, allocations: 1.022 MB / 476.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.2978, allocations: 57.91 kB / 476.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.2983, allocations: 394.7 kB / 476.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.2983, allocations: 35.45 kB / 476.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.2985, allocations: 212.5 kB / 476.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.2985, allocations: 82.28 kB / 477 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.2987, allocations: 65.81 kB / 477 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2988, allocations: 351.2 kB / 477.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.2992, allocations: 150.1 kB / 477.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.2996, allocations: 184.4 kB / 477.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.3004, allocations: 308.3 kB / 478 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3004, allocations: 4 kB / 478 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003871/0.3043, allocations: 0.82 MB / 478.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3043, allocations: 9.156 kB / 478.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3043, allocations: 1.094 kB / 478.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.3055, allocations: 335.9 kB / 479.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3058, allocations: 61.95 kB / 479.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.3134, allocations: 4.324 MB / 483.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.314, allocations: 55.16 kB / 483.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.314, allocations: 15.48 kB / 483.6 MB, free: 8.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.3142, allocations: 149.7 kB / 483.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.3143, allocations: 41.31 kB / 483.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.3144, allocations: 42.17 kB / 483.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3144, allocations: 6.375 kB / 483.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3144, allocations: 0 / 483.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3144, allocations: 0 / 483.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.3185, allocations: 1.177 MB / 485 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3185, allocations: 0 / 485 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3186, allocations: 41.72 kB / 485.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.3193, allocations: 253.1 kB / 485.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.3193, allocations: 13.42 kB / 485.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005971/0.3253, allocations: 2.547 MB / 487.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3253, allocations: 1.062 kB / 487.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.3289, allocations: 0.7758 MB / 488.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3291, allocations: 137.5 kB / 488.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.3291, allocations: 5.531 kB / 488.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.3295, allocations: 34 kB / 488.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3295, allocations: 14.56 kB / 488.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3296, allocations: 12.45 kB / 488.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.3298, allocations: 276.4 kB / 489.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3299, allocations: 0 / 489.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005349/0.3304, allocations: 109.2 kB / 489.2 MB, free: 4.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (18): * Single equations (assignments): 17 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000129/0.3305, allocations: 110.8 kB / 489.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3318, allocations: 0.6068 MB / 489.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3318, allocations: 1.344 kB / 489.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.3324, allocations: 276.6 kB / 490.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.3329, allocations: 90.66 kB / 490.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3343, allocations: 0.7059 MB / 491 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.3345, allocations: 0.7946 MB / 491.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3347, allocations: 39.89 kB / 491.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.3347, allocations: 34.67 kB / 491.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3347, allocations: 0 / 491.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01379/0.3485, allocations: 8.434 MB / 0.4886 GB, free: 11.45 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)