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.001273/0.001273, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001465/0.001465, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2058/0.2058, allocations: 5.379 MB / 296.4 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005479/0.0005481, allocations: 12 kB / 361.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 51.61 MB / 413.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004351/0.1416, allocations: 2.802 MB / 416.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1441, allocations: 1.193 MB / 417.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004671/0.1446, allocations: 4 kB / 417.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.1452, allocations: 175.1 kB / 417.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.1457, allocations: 163.5 kB / 417.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1459, allocations: 75.88 kB / 417.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.1464, allocations: 363.2 kB / 418.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1467, allocations: 93.92 kB / 418.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1469, allocations: 179.3 kB / 418.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1472, allocations: 219.1 kB / 418.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1473, allocations: 20 kB / 418.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1474, allocations: 35.98 kB / 418.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.1474, allocations: 75.64 kB / 418.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.1475, allocations: 101.5 kB / 418.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.148, allocations: 398.9 kB / 419.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.148, allocations: 0 / 419.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.148, allocations: 0 / 419.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.148, allocations: 0 / 419.3 MB, free: 4.762 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.001954/0.1499, allocations: 0.7713 MB / 420 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.15, allocations: 8.031 kB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.1501, allocations: 47.53 kB / 420.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1512, allocations: 498.8 kB / 420.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1513, allocations: 24.56 kB / 420.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.1513, allocations: 24 kB / 420.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.152, allocations: 321.4 kB / 420.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.152, allocations: 0 / 420.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.152, allocations: 15.95 kB / 421 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1521, allocations: 4 kB / 421 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.1528, allocations: 306 kB / 421.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.1552, allocations: 1.397 MB / 422.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.1558, allocations: 311.6 kB / 423 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1558, allocations: 7.953 kB / 423 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1559, allocations: 38.5 kB / 423 MB, free: 0.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1559, allocations: 7.938 kB / 423 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.2615/0.4174, allocations: 0.79 MB / 423.8 MB, free: 45.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4176, allocations: 53.25 kB / 423.9 MB, free: 45.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.4183, allocations: 379.9 kB / 424.2 MB, free: 45.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.4184, allocations: 28.64 kB / 424.3 MB, free: 45.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4186, allocations: 225 kB / 424.5 MB, free: 45.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.4186, allocations: 59.36 kB / 424.5 MB, free: 45.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.4186, allocations: 5.656 kB / 424.5 MB, free: 45.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.4187, allocations: 344 kB / 424.9 MB, free: 44.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.4191, allocations: 127.3 kB / 425 MB, free: 44.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.4194, allocations: 158.4 kB / 425.2 MB, free: 44.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.4198, allocations: 132.2 kB / 425.3 MB, free: 44.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4198, allocations: 3.875 kB / 425.3 MB, free: 44.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002598/0.4224, allocations: 0.6645 MB / 425.9 MB, free: 44.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4224, allocations: 3.219 kB / 426 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4225, allocations: 3.188 kB / 426 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008985/0.4234, allocations: 251.4 kB / 426.2 MB, free: 44.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4236, allocations: 60.22 kB / 426.3 MB, free: 44.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.4289, allocations: 3.649 MB / 429.9 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.4294, allocations: 51.66 kB / 430 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4294, allocations: 13.66 kB / 430 MB, free: 41.96 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 (27): * Single equations (assignments): 25 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.4296, allocations: 148 kB / 430.1 MB, free: 41.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.4297, allocations: 35.12 kB / 430.2 MB, free: 41.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.4298, allocations: 36.81 kB / 430.2 MB, free: 41.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4298, allocations: 2.875 kB / 430.2 MB, free: 41.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4298, allocations: 4.516 kB / 430.2 MB, free: 41.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4298, allocations: 3.516 kB / 430.2 MB, free: 41.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.4322, allocations: 0.9389 MB / 431.1 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4322, allocations: 0 / 431.1 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.4323, allocations: 30.17 kB / 431.2 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.4327, allocations: 186.4 kB / 431.3 MB, free: 41.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4328, allocations: 0 / 431.3 MB, free: 41.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.4364, allocations: 2.083 MB / 433.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4364, allocations: 7.406 kB / 433.4 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.4386, allocations: 0.597 MB / 434 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.4387, allocations: 138.3 kB / 434.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.4388, allocations: 3.5 kB / 434.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.4391, allocations: 27.58 kB / 434.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.4391, allocations: 15.42 kB / 434.2 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.4392, allocations: 3.969 kB / 434.2 MB, free: 39.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.4395, allocations: 269.6 kB / 434.5 MB, free: 39.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4395, allocations: 4.797 kB / 434.5 MB, free: 39.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.44, allocations: 88.94 kB / 434.6 MB, free: 39.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.4401, allocations: 104.4 kB / 434.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.4412, allocations: 0.5152 MB / 435.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4412, allocations: 3.281 kB / 435.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.4415, allocations: 229.9 kB / 435.4 MB, free: 39.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.442, allocations: 83.38 kB / 435.5 MB, free: 39.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4431, allocations: 0.7232 MB / 436.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4433, allocations: 0.7934 MB / 437 MB, free: 38.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.4435, allocations: 43 kB / 437.1 MB, free: 38.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.4436, allocations: 26.53 kB / 437.1 MB, free: 38.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4436, allocations: 0 / 437.1 MB, free: 38.19 MB / 350.1 MB Notification: Performance of Templates: time 0.009299/0.4529, allocations: 5.93 MB / 443 MB, free: 37.83 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: