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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001692, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.5 MB / 229.6 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 93.92 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02408/0.02408, allocations: 5.284 MB / 336.5 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.769e-05, allocations: 0 / 396.3 MB, free: 51.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1523, allocations: 51.61 MB / 447.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.2757, allocations: 82.53 MB / 0.518 GB, free: 8.383 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.2761, allocations: 67.97 kB / 0.5181 GB, free: 8.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3308/0.6069, allocations: 12.47 MB / 0.5303 GB, free: 81.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.607, allocations: 1.031 kB / 0.5303 GB, free: 81.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.43e-05/0.6071, allocations: 6.688 kB / 0.5303 GB, free: 81.82 MB / 362.7 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.001548/0.6086, allocations: 0.6376 MB / 0.5309 GB, free: 81.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.6087, allocations: 9.469 kB / 0.5309 GB, free: 81.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.6088, allocations: 41.94 kB / 0.5309 GB, free: 81.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.6095, allocations: 350.5 kB / 0.5313 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.6096, allocations: 7.844 kB / 0.5313 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.6097, allocations: 13.91 kB / 0.5313 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009035/0.6106, allocations: 310.6 kB / 0.5316 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.6113, allocations: 287.3 kB / 0.5319 GB, free: 81.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6113, allocations: 0 / 0.5319 GB, free: 81.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.6114, allocations: 1.531 kB / 0.5319 GB, free: 81.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.6114, allocations: 6.688 kB / 0.5319 GB, free: 81.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.6146, allocations: 1.407 MB / 0.5332 GB, free: 80.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.6153, allocations: 296.6 kB / 0.5335 GB, free: 80.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.6157, allocations: 120.5 kB / 0.5336 GB, free: 80.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.6158, allocations: 10.61 kB / 0.5337 GB, free: 80.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6158, allocations: 40.83 kB / 0.5337 GB, free: 80.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.265e-06/0.6158, allocations: 0 / 0.5337 GB, free: 80.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.003761/0.6196, allocations: 0.5417 MB / 0.5342 GB, free: 80.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6197, allocations: 57.31 kB / 0.5343 GB, free: 80.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/0.6204, allocations: 342.4 kB / 0.5346 GB, free: 79.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.6204, allocations: 25.7 kB / 0.5346 GB, free: 79.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.6206, allocations: 220.1 kB / 0.5348 GB, free: 79.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.6207, allocations: 56.56 kB / 0.5349 GB, free: 79.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.6207, allocations: 0 / 0.5349 GB, free: 79.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6208, allocations: 345.5 kB / 0.5352 GB, free: 79.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.6211, allocations: 109 kB / 0.5353 GB, free: 79.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.6214, allocations: 148.1 kB / 0.5355 GB, free: 79.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.6217, allocations: 118.6 kB / 0.5356 GB, free: 79.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6218, allocations: 0 / 0.5356 GB, free: 79.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.004231/0.626, allocations: 0.7089 MB / 0.5363 GB, free: 79.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.6261, allocations: 6.781 kB / 0.5363 GB, free: 79.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.6261, allocations: 5.375 kB / 0.5363 GB, free: 79.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/0.6297, allocations: 0.5468 MB / 0.5368 GB, free: 79.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.6302, allocations: 51.17 kB / 0.5369 GB, free: 79.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008614/0.6388, allocations: 3.985 MB / 0.5408 GB, free: 76.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.6396, allocations: 45.22 kB / 0.5408 GB, free: 76.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.6396, allocations: 22.62 kB / 0.5408 GB, free: 76.63 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.6399, allocations: 107.7 kB / 0.5409 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.64, allocations: 30.47 kB / 0.541 GB, free: 76.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.6401, allocations: 40.23 kB / 0.541 GB, free: 76.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6401, allocations: 0 / 0.541 GB, free: 76.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6401, allocations: 3.438 kB / 0.541 GB, free: 76.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6401, allocations: 4 kB / 0.541 GB, free: 76.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/0.6442, allocations: 1.05 MB / 0.542 GB, free: 75.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6442, allocations: 96 / 0.542 GB, free: 75.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.6444, allocations: 37.41 kB / 0.5421 GB, free: 75.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002686/0.6471, allocations: 467.3 kB / 0.5425 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.6471, allocations: 7.25 kB / 0.5425 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/0.6519, allocations: 2.241 MB / 0.5447 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.6519, allocations: 1.312 kB / 0.5447 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.6545, allocations: 0.659 MB / 0.5453 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.6547, allocations: 142 kB / 0.5455 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.6548, allocations: 3.844 kB / 0.5455 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.6551, allocations: 28.45 kB / 0.5455 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.6552, allocations: 25.23 kB / 0.5455 GB, free: 73.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.6552, allocations: 6.547 kB / 0.5455 GB, free: 73.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003068/0.6555, allocations: 264 kB / 0.5458 GB, free: 73.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6555, allocations: 0 / 0.5458 GB, free: 73.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006313/0.6562, allocations: 117.2 kB / 0.5459 GB, free: 73.64 MB / 362.7 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 () * 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.6564, allocations: 132.3 kB / 0.546 GB, free: 73.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.6572, allocations: 0.503 MB / 0.5465 GB, free: 73.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6572, allocations: 0 / 0.5465 GB, free: 73.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.6574, allocations: 222.8 kB / 0.5467 GB, free: 73.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.6579, allocations: 58.25 kB / 0.5468 GB, free: 73.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.6588, allocations: 401.5 kB / 0.5472 GB, free: 72.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.659, allocations: 0.7909 MB / 0.5479 GB, free: 72.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.6592, allocations: 32.67 kB / 0.548 GB, free: 72.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.6592, allocations: 26.33 kB / 0.548 GB, free: 72.11 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6592, allocations: 3.938 kB / 0.548 GB, free: 72.11 MB / 362.7 MB Notification: Performance of Templates: time 0.01072/0.67, allocations: 7.568 MB / 0.5554 GB, free: 65.75 MB / 362.7 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)