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.001132/0.001132, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001126/0.001126, allocations: 194.5 kB / 17.3 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02673/0.02673, allocations: 5.392 MB / 296.5 MB, free: 9.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 63.89 kB / 362.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2306, allocations: 50.61 MB / 413 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003286/0.234, allocations: 3.433 MB / 416.4 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2352, allocations: 1.282 MB / 417.7 MB, free: 24.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.2354, allocations: 11.88 kB / 417.7 MB, free: 24.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.2358, allocations: 210.8 kB / 417.9 MB, free: 24.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.2361, allocations: 154.8 kB / 418.1 MB, free: 24.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.2363, allocations: 119.8 kB / 418.2 MB, free: 24.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.2366, allocations: 0.572 MB / 418.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2368, allocations: 128.1 kB / 418.9 MB, free: 23.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.237, allocations: 215.2 kB / 419.1 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2372, allocations: 262.9 kB / 419.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.2372, allocations: 52 kB / 419.4 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.2373, allocations: 63.98 kB / 419.5 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.2374, allocations: 111.6 kB / 419.6 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2375, allocations: 230.8 kB / 419.8 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.2379, allocations: 0.5294 MB / 420.3 MB, free: 21.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2379, allocations: 4 kB / 420.3 MB, free: 21.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2379, allocations: 0 / 420.3 MB, free: 21.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2379, allocations: 0 / 420.3 MB, free: 21.9 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.001636/0.2396, allocations: 0.8296 MB / 421.2 MB, free: 21.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.2396, allocations: 8.031 kB / 421.2 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.2397, allocations: 48.38 kB / 421.2 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009826/0.2407, allocations: 0.4923 MB / 421.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2407, allocations: 24.69 kB / 421.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.2407, allocations: 24 kB / 421.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.2412, allocations: 321.3 kB / 422.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2413, allocations: 0 / 422.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.2413, allocations: 12 kB / 422.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2413, allocations: 4 kB / 422.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.2419, allocations: 282 kB / 422.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2438, allocations: 1.32 MB / 423.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.2443, allocations: 306.4 kB / 424 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.2447, allocations: 144.8 kB / 424.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2447, allocations: 4 kB / 424.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.2447, allocations: 34.5 kB / 424.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2447, allocations: 0 / 424.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003277/0.248, allocations: 0.7549 MB / 424.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.248, allocations: 51.41 kB / 425 MB, free: 17.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.2484, allocations: 389.5 kB / 425.3 MB, free: 16.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2484, allocations: 33.7 kB / 425.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.2485, allocations: 219.9 kB / 425.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.2485, allocations: 43.27 kB / 425.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.2486, allocations: 61.59 kB / 425.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.2487, allocations: 346.8 kB / 426 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.2489, allocations: 115.9 kB / 426.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.2492, allocations: 159.5 kB / 426.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.2497, allocations: 251.1 kB / 426.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2498, allocations: 0 / 426.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002426/0.2522, allocations: 0.6335 MB / 427.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2522, allocations: 8 kB / 427.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2522, allocations: 3.938 kB / 427.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/0.2531, allocations: 257.5 kB / 427.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.2533, allocations: 43.97 kB / 427.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.2586, allocations: 3.914 MB / 431.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.2589, allocations: 47.73 kB / 431.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.259, allocations: 7.984 kB / 431.5 MB, free: 10.16 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.0001229/0.2591, allocations: 149.8 kB / 431.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.2591, allocations: 35.56 kB / 431.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.157e-05/0.2592, allocations: 39.38 kB / 431.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2592, allocations: 4 kB / 431.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2592, allocations: 4 kB / 431.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2592, allocations: 3.984 kB / 431.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.2617, allocations: 0.933 MB / 432.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2617, allocations: 0 / 432.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.2618, allocations: 35.91 kB / 432.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/0.2622, allocations: 168.8 kB / 432.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2622, allocations: 4 kB / 432.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.2657, allocations: 2.14 MB / 435 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2657, allocations: 0 / 435 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.2677, allocations: 0.5746 MB / 435.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2678, allocations: 128.6 kB / 435.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.2679, allocations: 7.984 kB / 435.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.2682, allocations: 19.98 kB / 435.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2682, allocations: 15.92 kB / 435.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2683, allocations: 11.98 kB / 435.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.2685, allocations: 267.2 kB / 436 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2685, allocations: 0 / 436 MB, free: 5.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000419/0.2689, allocations: 99.78 kB / 436.1 MB, free: 5.277 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.0001017/0.269, allocations: 103.8 kB / 436.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.2699, allocations: 0.5099 MB / 436.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2699, allocations: 0 / 436.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.2703, allocations: 226.5 kB / 436.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.2707, allocations: 72.14 kB / 437 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.2717, allocations: 0.6362 MB / 437.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.2719, allocations: 0.7873 MB / 438.4 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.272, allocations: 35.27 kB / 438.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.2721, allocations: 35.42 kB / 438.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2721, allocations: 0 / 438.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of Templates: time 0.009649/0.2818, allocations: 6.54 MB / 445 MB, free: 12.3 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 cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)