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.001147/0.001147, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.001191/0.00119, allocations: 193 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02678/0.02678, allocations: 5.395 MB / 296.6 MB, free: 9.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 362.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2471, allocations: 50.62 MB / 413 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.00416/0.2513, allocations: 3.441 MB / 416.4 MB, free: 25.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.253, allocations: 1.277 MB / 417.7 MB, free: 24.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.2534, allocations: 4 kB / 417.7 MB, free: 24.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.254, allocations: 218.7 kB / 417.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.2545, allocations: 154.8 kB / 418.1 MB, free: 24.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2547, allocations: 115.8 kB / 418.2 MB, free: 24.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.2552, allocations: 0.5759 MB / 418.8 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.2555, allocations: 124.1 kB / 418.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.2557, allocations: 219.1 kB / 419.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.256, allocations: 255 kB / 419.4 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.2561, allocations: 60 kB / 419.4 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2562, allocations: 63.94 kB / 419.5 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.2563, allocations: 107.6 kB / 419.6 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2564, allocations: 230.8 kB / 419.8 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.2569, allocations: 0.541 MB / 420.3 MB, free: 21.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2569, allocations: 0 / 420.3 MB, free: 21.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2569, allocations: 0 / 420.3 MB, free: 21.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2569, allocations: 0 / 420.3 MB, free: 21.92 MB / 302.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.001809/0.2587, allocations: 0.8258 MB / 421.2 MB, free: 21.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2587, allocations: 8.031 kB / 421.2 MB, free: 21.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.2589, allocations: 48.38 kB / 421.2 MB, free: 20.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.2599, allocations: 0.4922 MB / 421.7 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.26, allocations: 20.69 kB / 421.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.26, allocations: 27.94 kB / 421.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.2606, allocations: 325.4 kB / 422.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2606, allocations: 0 / 422.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2606, allocations: 4 kB / 422.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.2606, allocations: 8 kB / 422.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.2613, allocations: 282 kB / 422.4 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.2634, allocations: 1.316 MB / 423.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.264, allocations: 311.5 kB / 424 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.2643, allocations: 140.8 kB / 424.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2644, allocations: 4 kB / 424.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2644, allocations: 38.48 kB / 424.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.2644, allocations: 0 / 424.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00342/0.2678, allocations: 0.7488 MB / 424.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2678, allocations: 55.41 kB / 425 MB, free: 17.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.2682, allocations: 389.5 kB / 425.4 MB, free: 16.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2683, allocations: 25.7 kB / 425.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2684, allocations: 215.9 kB / 425.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.2684, allocations: 59.25 kB / 425.6 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.2685, allocations: 57.59 kB / 425.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.2686, allocations: 338.8 kB / 426 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.2689, allocations: 115.9 kB / 426.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.2692, allocations: 159.6 kB / 426.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.2697, allocations: 247 kB / 426.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2697, allocations: 0 / 426.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002563/0.2723, allocations: 0.6374 MB / 427.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2723, allocations: 4 kB / 427.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2723, allocations: 0 / 427.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000884/0.2732, allocations: 253.6 kB / 427.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.2734, allocations: 51.91 kB / 427.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/0.2788, allocations: 3.914 MB / 431.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.2792, allocations: 47.69 kB / 431.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2792, allocations: 16.14 kB / 431.5 MB, free: 10.19 MB / 302.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 (26): * Single equations (assignments): 24 * 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.0001933/0.2794, allocations: 149.7 kB / 431.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.2795, allocations: 35.56 kB / 431.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.2796, allocations: 39.23 kB / 431.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2796, allocations: 4 kB / 431.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2796, allocations: 0 / 431.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2796, allocations: 0 / 431.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.2822, allocations: 0.9368 MB / 432.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2822, allocations: 0 / 432.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2823, allocations: 27.98 kB / 432.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003751/0.2827, allocations: 180.8 kB / 432.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2827, allocations: 3.984 kB / 432.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.2863, allocations: 2.144 MB / 435 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2863, allocations: 0 / 435 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.2883, allocations: 0.575 MB / 435.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2884, allocations: 128.6 kB / 435.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.2885, allocations: 8 kB / 435.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2888, allocations: 23.97 kB / 435.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.2888, allocations: 15.98 kB / 435.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2888, allocations: 4.141 kB / 435.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.2891, allocations: 267.2 kB / 436 MB, free: 5.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2891, allocations: 0 / 436 MB, free: 5.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.2896, allocations: 107.8 kB / 436.1 MB, free: 5.297 MB / 302.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 (13): * Single equations (assignments): 12 * 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.000122/0.2897, allocations: 101.4 kB / 436.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2907, allocations: 0.5099 MB / 436.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2907, allocations: 0 / 436.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.2911, allocations: 222.5 kB / 436.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.2916, allocations: 81.52 kB / 437 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2927, allocations: 0.6272 MB / 437.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.293, allocations: 0.7834 MB / 438.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.2931, allocations: 43.25 kB / 438.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.2932, allocations: 23.44 kB / 438.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2932, allocations: 0 / 438.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of Templates: time 0.01105/0.3043, allocations: 6.55 MB / 445 MB, free: 12.32 MB / 318.1 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 -s gbode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)