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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 169.2 kB / 7.64 MB, free: 1.414 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.627/1.627, allocations: 221.5 MB / 229.6 MB, free: 7.5 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.001397/0.001397, allocations: 85.81 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02312/0.02312, allocations: 5.279 MB / 336.5 MB, free: 9.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.96e-05, allocations: 3.938 kB / 396.3 MB, free: 51.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 51.61 MB / 447.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.2992, allocations: 82.79 MB / 0.5183 GB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.2996, allocations: 67.97 kB / 0.5183 GB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3844/0.6841, allocations: 12.69 MB / 0.5307 GB, free: 81.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.6841, allocations: 5 kB / 0.5307 GB, free: 81.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.805e-05/0.6842, allocations: 7.406 kB / 0.5307 GB, free: 81.91 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001711/0.6859, allocations: 0.6468 MB / 0.5314 GB, free: 81.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.686, allocations: 10.19 kB / 0.5314 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.6862, allocations: 45.03 kB / 0.5314 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.6869, allocations: 349.6 kB / 0.5317 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.687, allocations: 13.5 kB / 0.5318 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.687, allocations: 15.25 kB / 0.5318 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008032/0.6878, allocations: 333.6 kB / 0.5321 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.6884, allocations: 292.5 kB / 0.5324 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6884, allocations: 3 kB / 0.5324 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.6885, allocations: 1.156 kB / 0.5324 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6885, allocations: 5.812 kB / 0.5324 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.691, allocations: 1.461 MB / 0.5338 GB, free: 80.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.6916, allocations: 344.7 kB / 0.5341 GB, free: 80.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.6919, allocations: 140.2 kB / 0.5343 GB, free: 80.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.6919, allocations: 6.281 kB / 0.5343 GB, free: 80.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.692, allocations: 36.91 kB / 0.5343 GB, free: 80.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.482e-06/0.692, allocations: 0 / 0.5343 GB, free: 80.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002919/0.6949, allocations: 0.5684 MB / 0.5349 GB, free: 80.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.6949, allocations: 53.88 kB / 0.5349 GB, free: 80.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.6954, allocations: 344.1 kB / 0.5352 GB, free: 80.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.6954, allocations: 29.7 kB / 0.5353 GB, free: 80.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.6956, allocations: 224.4 kB / 0.5355 GB, free: 79.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.6956, allocations: 68.19 kB / 0.5356 GB, free: 79.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.6957, allocations: 3.938 kB / 0.5356 GB, free: 79.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.6958, allocations: 347.5 kB / 0.5359 GB, free: 79.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.696, allocations: 120.6 kB / 0.536 GB, free: 79.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.6962, allocations: 150 kB / 0.5361 GB, free: 79.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.6965, allocations: 126.2 kB / 0.5363 GB, free: 79.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6965, allocations: 1.562 kB / 0.5363 GB, free: 79.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003307/0.6998, allocations: 0.7381 MB / 0.537 GB, free: 79.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.6998, allocations: 5.875 kB / 0.537 GB, free: 79.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6998, allocations: 0.5312 kB / 0.537 GB, free: 79.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.7028, allocations: 0.5491 MB / 0.5375 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.7031, allocations: 63.42 kB / 0.5376 GB, free: 79.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.709, allocations: 3.994 MB / 0.5415 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.7095, allocations: 46.27 kB / 0.5415 GB, free: 76.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.7095, allocations: 14.09 kB / 0.5416 GB, free: 76.5 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 (30): * Single equations (assignments): 28 * 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.0001888/0.7097, allocations: 112.4 kB / 0.5417 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.7098, allocations: 33.66 kB / 0.5417 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.7099, allocations: 42.38 kB / 0.5417 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7099, allocations: 0 / 0.5417 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.7099, allocations: 4.188 kB / 0.5417 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7099, allocations: 4 kB / 0.5417 GB, free: 76.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.7131, allocations: 1.09 MB / 0.5428 GB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7131, allocations: 0 / 0.5428 GB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.7133, allocations: 42.5 kB / 0.5428 GB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.7153, allocations: 476.7 kB / 0.5433 GB, free: 75.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.7154, allocations: 3.188 kB / 0.5433 GB, free: 75.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003969/0.7193, allocations: 2.236 MB / 0.5455 GB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.7194, allocations: 0 / 0.5455 GB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.722, allocations: 0.6827 MB / 0.5462 GB, free: 73.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.7222, allocations: 150.2 kB / 0.5463 GB, free: 73.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.7222, allocations: 3.797 kB / 0.5463 GB, free: 73.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.7226, allocations: 27 kB / 0.5463 GB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.7226, allocations: 22.67 kB / 0.5463 GB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.7227, allocations: 7.766 kB / 0.5464 GB, free: 73.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003018/0.723, allocations: 272.8 kB / 0.5466 GB, free: 73.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.723, allocations: 0 / 0.5466 GB, free: 73.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006292/0.7236, allocations: 126.9 kB / 0.5467 GB, free: 73.47 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 (17): * Single equations (assignments): 16 * 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.0002431/0.7239, allocations: 135.7 kB / 0.5469 GB, free: 73.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.7247, allocations: 0.5121 MB / 0.5474 GB, free: 73.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7248, allocations: 0 / 0.5474 GB, free: 73.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.725, allocations: 237.3 kB / 0.5476 GB, free: 72.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.7255, allocations: 66.84 kB / 0.5477 GB, free: 72.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.7266, allocations: 426.4 kB / 0.5481 GB, free: 72.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.7269, allocations: 0.8012 MB / 0.5488 GB, free: 71.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.727, allocations: 40.36 kB / 0.5489 GB, free: 71.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.7271, allocations: 29.44 kB / 0.5489 GB, free: 71.87 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7271, allocations: 0 / 0.5489 GB, free: 71.87 MB / 362.7 MB Notification: Performance of Templates: time 0.01151/0.7386, allocations: 7.785 MB / 0.5565 GB, free: 64.62 MB / 362.7 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)