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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001147/0.001147, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02856/0.02856, allocations: 5.397 MB / 296.6 MB, free: 9.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 413.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1084, allocations: 50.62 MB / 464.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005737/0.1142, allocations: 3.381 MB / 467.5 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1168, allocations: 1.258 MB / 468.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.1174, allocations: 7.938 kB / 468.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.1183, allocations: 218.7 kB / 469 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.1191, allocations: 150.8 kB / 469.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1195, allocations: 119.8 kB / 469.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008833/0.1204, allocations: 0.5565 MB / 469.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.1207, allocations: 124.1 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.1211, allocations: 207.2 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.1215, allocations: 254.9 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1217, allocations: 52 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.1218, allocations: 63.98 kB / 470.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.122, allocations: 103.7 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.1223, allocations: 230.8 kB / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.123, allocations: 0.5217 MB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.123, allocations: 0 / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.123, allocations: 4 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1231, allocations: 0 / 471.3 MB, free: 12.59 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002277/0.1253, allocations: 0.8063 MB / 472.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1254, allocations: 8.031 kB / 472.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.1255, allocations: 40.47 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1268, allocations: 496.1 kB / 472.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1268, allocations: 20.69 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.1269, allocations: 20 kB / 472.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.1275, allocations: 301.1 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1275, allocations: 4 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.1276, allocations: 12 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1276, allocations: 7.984 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.1282, allocations: 241.5 kB / 473.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1306, allocations: 1.271 MB / 474.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.1312, allocations: 259.6 kB / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.1315, allocations: 112.8 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1316, allocations: 0 / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1316, allocations: 38.5 kB / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1316, allocations: 0 / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003315/0.1349, allocations: 0.7368 MB / 475.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.135, allocations: 59.34 kB / 475.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.1355, allocations: 385.5 kB / 476.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.1355, allocations: 33.7 kB / 476.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1357, allocations: 215.8 kB / 476.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1358, allocations: 35.45 kB / 476.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1359, allocations: 57.59 kB / 476.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1361, allocations: 346.9 kB / 476.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1364, allocations: 103.9 kB / 476.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.1367, allocations: 136.2 kB / 477 MB, free: 6.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.1372, allocations: 208.9 kB / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1372, allocations: 0 / 477.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002138/0.1393, allocations: 0.5609 MB / 477.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1393, allocations: 4 kB / 477.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1394, allocations: 4 kB / 477.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/0.1402, allocations: 249.6 kB / 478 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.1405, allocations: 43.91 kB / 478.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.1461, allocations: 3.788 MB / 481.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.1465, allocations: 31.83 kB / 481.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1465, allocations: 11.98 kB / 481.9 MB, free: 1.383 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 (22): * Single equations (assignments): 20 * 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.0002253/0.1468, allocations: 153.2 kB / 482 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1469, allocations: 35.53 kB / 482.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.242e-05/0.147, allocations: 39.06 kB / 482.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.147, allocations: 0 / 482.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.147, allocations: 0 / 482.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.147, allocations: 3.938 kB / 482.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.1493, allocations: 0.8509 MB / 483 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1493, allocations: 0 / 483 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.1494, allocations: 15.98 kB / 483 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.1497, allocations: 172.8 kB / 483.1 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1498, allocations: 0 / 483.1 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.1532, allocations: 2.011 MB / 485.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1532, allocations: 3.984 kB / 485.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1548, allocations: 0.4926 MB / 485.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.155, allocations: 128.6 kB / 485.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.1551, allocations: 8 kB / 485.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1554, allocations: 24.06 kB / 485.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.1554, allocations: 11.92 kB / 485.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1555, allocations: 4 kB / 485.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.1558, allocations: 271.2 kB / 486.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.053e-06/0.1558, allocations: 0 / 486.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.1563, allocations: 91.78 kB / 486.2 MB, free: 12.83 MB / 366.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 (9): * Single equations (assignments): 8 * 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.0001774/0.1565, allocations: 113.7 kB / 486.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1576, allocations: 486.2 kB / 486.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1576, allocations: 0 / 486.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.1579, allocations: 202.5 kB / 487 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.1585, allocations: 81.77 kB / 487 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1599, allocations: 0.6096 MB / 487.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1604, allocations: 0.7832 MB / 488.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.1604, allocations: 27.42 kB / 488.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1604, allocations: 0 / 488.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01134/0.1718, allocations: 6.894 MB / 495.4 MB, free: 3.566 MB / 366.1 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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)