Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 178 kB / 16.11 MB, free: 5.199 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240.1 MB, free: 11.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008329/0.0008331, allocations: 106 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02763/0.02763, allocations: 5.382 MB / 347.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005478, allocations: 12 kB / 413.5 MB, free: 57.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1411, allocations: 51.62 MB / 465.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6385, allocations: 83.01 MB / 0.5352 GB, free: 5.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.6389, allocations: 70.66 kB / 0.5353 GB, free: 5.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0514/0.6903, allocations: 12.45 MB / 0.5475 GB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6903, allocations: 0 / 0.5475 GB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.52e-05/0.6904, allocations: 11.98 kB / 0.5475 GB, free: 10.71 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002211/0.6926, allocations: 0.692 MB / 0.5482 GB, free: 9.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.6927, allocations: 16.86 kB / 0.5482 GB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.6929, allocations: 48.38 kB / 0.5482 GB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.6938, allocations: 347.7 kB / 0.5486 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.6938, allocations: 19.5 kB / 0.5486 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.6939, allocations: 19.56 kB / 0.5486 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.695, allocations: 367.5 kB / 0.5489 GB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6951, allocations: 192 / 0.5489 GB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.6951, allocations: 10.69 kB / 0.549 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.6952, allocations: 8 kB / 0.549 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6968, allocations: 433 kB / 0.5494 GB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.7003, allocations: 1.43 MB / 0.5508 GB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.7013, allocations: 351.7 kB / 0.5511 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.7018, allocations: 150.1 kB / 0.5513 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.7019, allocations: 3.938 kB / 0.5513 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7019, allocations: 38.56 kB / 0.5513 GB, free: 7.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.7019, allocations: 0 / 0.5513 GB, free: 7.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.008942/0.7109, allocations: 1.197 MB / 0.5525 GB, free: 6.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.711, allocations: 55.34 kB / 0.5525 GB, free: 6.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.712, allocations: 424.7 kB / 0.5529 GB, free: 5.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.7121, allocations: 33.52 kB / 0.553 GB, free: 5.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.7123, allocations: 225.5 kB / 0.5532 GB, free: 5.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.7124, allocations: 41.92 kB / 0.5532 GB, free: 5.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.7124, allocations: 3.188 kB / 0.5532 GB, free: 5.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.7126, allocations: 344.1 kB / 0.5535 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.7131, allocations: 153.7 kB / 0.5537 GB, free: 5.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.7137, allocations: 182.3 kB / 0.5539 GB, free: 5.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/0.7146, allocations: 294.5 kB / 0.5541 GB, free: 4.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7147, allocations: 4 kB / 0.5541 GB, free: 4.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.004948/0.7196, allocations: 0.8036 MB / 0.5549 GB, free: 4.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.7197, allocations: 8 kB / 0.5549 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7197, allocations: 3.984 kB / 0.5549 GB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.7235, allocations: 0.5971 MB / 0.5555 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.7238, allocations: 47.92 kB / 0.5556 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.7339, allocations: 4.172 MB / 0.5596 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.7347, allocations: 55.66 kB / 0.5597 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.7348, allocations: 7.984 kB / 0.5597 GB, free: 15.56 MB / 378.7 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 (23): * Single equations (assignments): 21 * 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.0003581/0.7352, allocations: 152.7 kB / 0.5598 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.7353, allocations: 35.53 kB / 0.5599 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.7355, allocations: 31.81 kB / 0.5599 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7355, allocations: 8 kB / 0.5599 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7355, allocations: 0 / 0.5599 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7355, allocations: 3.984 kB / 0.5599 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.7408, allocations: 1.163 MB / 0.5611 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7409, allocations: 3.938 kB / 0.5611 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.741, allocations: 23.98 kB / 0.5611 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.7442, allocations: 0.5164 MB / 0.5616 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.7443, allocations: 7.047 kB / 0.5616 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007507/0.7518, allocations: 2.478 MB / 0.564 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.7518, allocations: 0 / 0.564 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.7562, allocations: 0.7445 MB / 0.5647 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.7567, allocations: 144.5 kB / 0.5649 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.7568, allocations: 8 kB / 0.5649 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.7573, allocations: 27.92 kB / 0.5649 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.7574, allocations: 19.97 kB / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.7575, allocations: 7.984 kB / 0.5649 GB, free: 10.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006971/0.7582, allocations: 299.2 kB / 0.5652 GB, free: 10.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7582, allocations: 0 / 0.5652 GB, free: 10.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001001/0.7592, allocations: 127.8 kB / 0.5654 GB, free: 10.05 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0003127/0.7595, allocations: 127.8 kB / 0.5655 GB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.7613, allocations: 0.5802 MB / 0.566 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7614, allocations: 0 / 0.566 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.762, allocations: 270.5 kB / 0.5663 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.7629, allocations: 74.16 kB / 0.5664 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.765, allocations: 0.7301 MB / 0.5671 GB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.7656, allocations: 0.7836 MB / 0.5678 GB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.7659, allocations: 30.97 kB / 0.5679 GB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.766, allocations: 27.38 kB / 0.5679 GB, free: 7.336 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.766, allocations: 0 / 0.5679 GB, free: 7.336 MB / 378.7 MB Notification: Performance of Templates: time 0.02413/0.7901, allocations: 8.874 MB / 0.5766 GB, free: 14.5 MB / 394.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)