Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005967/0.005967, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001248/0.001248, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.592/1.592, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1713/0.1713, allocations: 5.385 MB / 295.9 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 59.91 kB / 412.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3209, allocations: 50.61 MB / 463.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004239/0.3252, allocations: 3.445 MB / 466.9 MB, free: 19.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3273, allocations: 1.275 MB / 468.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.3275, allocations: 11.97 kB / 468.1 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.3282, allocations: 211.6 kB / 468.3 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.3286, allocations: 155.7 kB / 468.5 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3289, allocations: 121.4 kB / 468.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.3295, allocations: 0.5747 MB / 469.2 MB, free: 17.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.3297, allocations: 125.1 kB / 469.3 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3299, allocations: 212.6 kB / 469.5 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.3303, allocations: 264 kB / 469.8 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.3303, allocations: 53.5 kB / 469.8 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.3305, allocations: 59.3 kB / 469.9 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.3306, allocations: 112.5 kB / 470 MB, free: 17.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.3308, allocations: 236.8 kB / 470.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.3314, allocations: 0.5352 MB / 470.8 MB, free: 16.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3315, allocations: 0 / 470.8 MB, free: 16.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3315, allocations: 0.6094 kB / 470.8 MB, free: 16.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3315, allocations: 1.375 kB / 470.8 MB, free: 16.97 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001757/0.3332, allocations: 0.8384 MB / 471.6 MB, free: 16.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3333, allocations: 9.766 kB / 471.6 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3334, allocations: 45.47 kB / 471.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3345, allocations: 0.5003 MB / 472.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3346, allocations: 22.72 kB / 472.2 MB, free: 16.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.3346, allocations: 24.44 kB / 472.2 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.3353, allocations: 321.8 kB / 472.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3353, allocations: 1.438 kB / 472.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.3353, allocations: 11.09 kB / 472.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3353, allocations: 5.062 kB / 472.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.3362, allocations: 281.6 kB / 472.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.339, allocations: 1.32 MB / 474.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.3397, allocations: 302.7 kB / 474.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.3402, allocations: 142.9 kB / 474.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.3403, allocations: 11.56 kB / 474.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3403, allocations: 32.09 kB / 474.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.3403, allocations: 3.938 kB / 474.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003498/0.3438, allocations: 0.7533 MB / 475.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3439, allocations: 54.09 kB / 475.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.3446, allocations: 388.4 kB / 475.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3446, allocations: 26.77 kB / 475.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3448, allocations: 225.1 kB / 476 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.3449, allocations: 58.95 kB / 476.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.345, allocations: 57.36 kB / 476.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3452, allocations: 345.8 kB / 476.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.3455, allocations: 116.8 kB / 476.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.3459, allocations: 155.7 kB / 476.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.3465, allocations: 254.4 kB / 477 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3466, allocations: 1.469 kB / 477 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002464/0.349, allocations: 0.6287 MB / 477.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3491, allocations: 5.156 kB / 477.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3491, allocations: 1.125 kB / 477.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/0.35, allocations: 260.5 kB / 477.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3503, allocations: 47.31 kB / 477.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/0.3556, allocations: 3.916 MB / 481.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3561, allocations: 48.48 kB / 481.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.3562, allocations: 18.14 kB / 481.9 MB, free: 9.258 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 (26): * Single equations (assignments): 24 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.3564, allocations: 141.3 kB / 482.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3565, allocations: 39.89 kB / 482.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.3566, allocations: 37.31 kB / 482.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3566, allocations: 1.438 kB / 482.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3566, allocations: 5.344 kB / 482.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3566, allocations: 3.984 kB / 482.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.3591, allocations: 0.9339 MB / 483.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3591, allocations: 1.094 kB / 483.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3592, allocations: 26.98 kB / 483.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.3597, allocations: 179 kB / 483.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3597, allocations: 1.531 kB / 483.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003846/0.3636, allocations: 2.146 MB / 485.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3636, allocations: 1.312 kB / 485.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.3657, allocations: 0.5732 MB / 486 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.366, allocations: 135.8 kB / 486.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.3661, allocations: 5.078 kB / 486.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.3663, allocations: 22.98 kB / 486.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.3664, allocations: 9.609 kB / 486.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3664, allocations: 8.438 kB / 486.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.3668, allocations: 268.4 kB / 486.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3668, allocations: 7.938 kB / 486.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.3673, allocations: 101.5 kB / 486.6 MB, free: 5.742 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 (13): * Single equations (assignments): 12 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.3675, allocations: 100 kB / 486.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3685, allocations: 0.5128 MB / 487.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3685, allocations: 9.281 kB / 487.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.3689, allocations: 217.5 kB / 487.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.3695, allocations: 76.28 kB / 487.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3709, allocations: 0.6331 MB / 488.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3711, allocations: 0.7881 MB / 488.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.3713, allocations: 39.3 kB / 488.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.3713, allocations: 28.67 kB / 489 MB, free: 3.867 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3713, allocations: 3.938 kB / 489 MB, free: 3.863 MB / 350.1 MB Notification: Performance of Templates: time 0.01053/0.3819, allocations: 6.591 MB / 495.5 MB, free: 292 kB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)