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.001484/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001885/0.001886, allocations: 188.1 kB / 16.25 MB, free: 6.633 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1757/0.1757, allocations: 5.382 MB / 295.5 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 55.91 kB / 360.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09519, allocations: 50.61 MB / 411 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003933/0.09915, allocations: 3.472 MB / 414.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1008, allocations: 1.258 MB / 415.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.101, allocations: 4 kB / 415.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.1015, allocations: 202.9 kB / 415.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1018, allocations: 135.1 kB / 416 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.102, allocations: 107.9 kB / 416.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.1025, allocations: 0.5643 MB / 416.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1027, allocations: 136 kB / 416.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1029, allocations: 211.2 kB / 417 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1032, allocations: 258.9 kB / 417.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.1033, allocations: 60 kB / 417.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.1034, allocations: 59.98 kB / 417.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.1034, allocations: 111.6 kB / 417.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1036, allocations: 238.8 kB / 417.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.1041, allocations: 0.5217 MB / 418.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1041, allocations: 0 / 418.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1042, allocations: 0 / 418.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1042, allocations: 0 / 418.3 MB, free: 4.484 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.001823/0.106, allocations: 0.8296 MB / 419.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.106, allocations: 8.031 kB / 419.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.1061, allocations: 44.38 kB / 419.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1071, allocations: 496.1 kB / 419.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1072, allocations: 28.69 kB / 419.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.1072, allocations: 24 kB / 419.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.1079, allocations: 321.3 kB / 420 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1079, allocations: 0 / 420 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.108, allocations: 15.98 kB / 420 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.108, allocations: 8 kB / 420 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.1087, allocations: 286 kB / 420.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.111, allocations: 1.327 MB / 421.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.1116, allocations: 311.5 kB / 421.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.112, allocations: 144.7 kB / 422.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1121, allocations: 0 / 422.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1121, allocations: 34.56 kB / 422.1 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 9.12e-07/0.1121, allocations: 0 / 422.1 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.1889/0.301, allocations: 0.7462 MB / 422.9 MB, free: 48.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.301, allocations: 54.67 kB / 422.9 MB, free: 48.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.3015, allocations: 378.5 kB / 423.3 MB, free: 48.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.3016, allocations: 31.27 kB / 423.3 MB, free: 48.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3017, allocations: 218.8 kB / 423.5 MB, free: 47.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.3017, allocations: 52.89 kB / 423.6 MB, free: 47.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3018, allocations: 58.7 kB / 423.6 MB, free: 47.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.3019, allocations: 354 kB / 424 MB, free: 47.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.3023, allocations: 114.3 kB / 424.1 MB, free: 47.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.3026, allocations: 149.9 kB / 424.2 MB, free: 47.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.3032, allocations: 252.5 kB / 424.5 MB, free: 47.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3032, allocations: 0 / 424.5 MB, free: 47.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002481/0.3057, allocations: 0.6243 MB / 425.1 MB, free: 47.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3057, allocations: 10.44 kB / 425.1 MB, free: 47.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3057, allocations: 0.9375 kB / 425.1 MB, free: 47.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008725/0.3066, allocations: 253.7 kB / 425.4 MB, free: 47.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3068, allocations: 54.22 kB / 425.4 MB, free: 47.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.3125, allocations: 3.912 MB / 429.3 MB, free: 44.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.3129, allocations: 42.94 kB / 429.4 MB, free: 44.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.3129, allocations: 16.56 kB / 429.4 MB, free: 44.44 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 (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.0001759/0.3131, allocations: 152.9 kB / 429.5 MB, free: 44.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.3132, allocations: 37.78 kB / 429.6 MB, free: 44.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.3133, allocations: 39.28 kB / 429.6 MB, free: 44.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3133, allocations: 0 / 429.6 MB, free: 44.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3133, allocations: 7.219 kB / 429.6 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3133, allocations: 0 / 429.6 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.3159, allocations: 0.9348 MB / 430.6 MB, free: 43.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3159, allocations: 3.469 kB / 430.6 MB, free: 43.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.316, allocations: 26.33 kB / 430.6 MB, free: 43.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.3165, allocations: 179.8 kB / 430.8 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3165, allocations: 5.297 kB / 430.8 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.3204, allocations: 2.136 MB / 432.9 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3204, allocations: 5.141 kB / 432.9 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.3225, allocations: 0.5743 MB / 433.5 MB, free: 41.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3226, allocations: 128.6 kB / 433.6 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.3226, allocations: 7.125 kB / 433.6 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.3229, allocations: 25.88 kB / 433.6 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.323, allocations: 14.7 kB / 433.7 MB, free: 41.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.323, allocations: 9.281 kB / 433.7 MB, free: 41.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.3233, allocations: 265.9 kB / 433.9 MB, free: 41.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3233, allocations: 0 / 433.9 MB, free: 41.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.3237, allocations: 101.1 kB / 434 MB, free: 41.53 MB / 350.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.000131/0.3239, allocations: 101.2 kB / 434.1 MB, free: 41.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009616/0.3249, allocations: 0.5188 MB / 434.6 MB, free: 41.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3249, allocations: 0 / 434.6 MB, free: 41.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.3252, allocations: 219.5 kB / 434.9 MB, free: 40.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.3257, allocations: 81.17 kB / 434.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3268, allocations: 0.7561 MB / 435.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3271, allocations: 0.7925 MB / 436.5 MB, free: 39.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.3272, allocations: 42.78 kB / 436.5 MB, free: 39.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.3273, allocations: 30.31 kB / 436.6 MB, free: 39.78 MB / 350.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3273, allocations: 0 / 436.6 MB, free: 39.78 MB / 350.1 MB Notification: Performance of Templates: time 0.009939/0.3373, allocations: 6.464 MB / 443 MB, free: 39.4 MB / 350.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)