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.0009996/0.0009996, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001113/0.001114, allocations: 192.2 kB / 16.13 MB, free: 6.699 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.134/0.134, allocations: 5.388 MB / 295.3 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 59.91 kB / 360.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1114, allocations: 50.61 MB / 410.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003899/0.1154, allocations: 3.473 MB / 414.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1169, allocations: 1.262 MB / 415.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.117, allocations: 4 kB / 415.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.1175, allocations: 198.9 kB / 415.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1178, allocations: 139 kB / 415.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.1179, allocations: 99.91 kB / 415.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.1184, allocations: 0.5447 MB / 416.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1185, allocations: 115.9 kB / 416.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1187, allocations: 187.2 kB / 416.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.119, allocations: 238.9 kB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.119, allocations: 28 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1191, allocations: 36 kB / 417.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.1192, allocations: 83.59 kB / 417.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1194, allocations: 210.8 kB / 417.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.1198, allocations: 0.5022 MB / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1198, allocations: 0 / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1198, allocations: 4 kB / 417.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1198, allocations: 0 / 417.9 MB, free: 4.844 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.001863/0.1217, allocations: 0.8258 MB / 418.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1217, allocations: 8.031 kB / 418.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.1218, allocations: 48.38 kB / 418.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1228, allocations: 0.4884 MB / 419.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1229, allocations: 20.69 kB / 419.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.1229, allocations: 24 kB / 419.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.1235, allocations: 325.3 kB / 419.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1236, allocations: 4 kB / 419.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.1236, allocations: 8 kB / 419.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1236, allocations: 8 kB / 419.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.1243, allocations: 278 kB / 419.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.1265, allocations: 1.335 MB / 421.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.1271, allocations: 307 kB / 421.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.1275, allocations: 140.8 kB / 421.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1275, allocations: 4 kB / 421.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1275, allocations: 30.56 kB / 421.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.484e-06/0.1276, allocations: 0 / 421.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003608/0.1312, allocations: 0.7565 MB / 422.4 MB, free: 12 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1686/0.2998, allocations: 55.41 kB / 422.5 MB, free: 48.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.3003, allocations: 382.3 kB / 422.9 MB, free: 48.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.3004, allocations: 27.14 kB / 422.9 MB, free: 48.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3005, allocations: 220.5 kB / 423.1 MB, free: 48.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.3006, allocations: 56.02 kB / 423.2 MB, free: 48.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3007, allocations: 55.12 kB / 423.2 MB, free: 48.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.3008, allocations: 345 kB / 423.6 MB, free: 47.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.3011, allocations: 117 kB / 423.7 MB, free: 47.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.3015, allocations: 147.2 kB / 423.8 MB, free: 47.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.3021, allocations: 252.4 kB / 424.1 MB, free: 47.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3021, allocations: 0 / 424.1 MB, free: 47.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002668/0.3048, allocations: 0.6275 MB / 424.7 MB, free: 47.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3048, allocations: 6.375 kB / 424.7 MB, free: 47.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3048, allocations: 4.719 kB / 424.7 MB, free: 47.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008976/0.3058, allocations: 256.9 kB / 425 MB, free: 47.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.306, allocations: 45.75 kB / 425 MB, free: 47.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.3116, allocations: 3.589 MB / 428.6 MB, free: 44.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.3121, allocations: 47.45 kB / 428.6 MB, free: 44.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3121, allocations: 9.75 kB / 428.6 MB, free: 44.92 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.0001746/0.3123, allocations: 153.1 kB / 428.8 MB, free: 44.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.3124, allocations: 38.8 kB / 428.8 MB, free: 44.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.3124, allocations: 39.27 kB / 428.9 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3124, allocations: 7.156 kB / 428.9 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3125, allocations: 3.188 kB / 428.9 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3125, allocations: 0 / 428.9 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3151, allocations: 0.9318 MB / 429.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3152, allocations: 0 / 429.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3153, allocations: 26.17 kB / 429.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.3157, allocations: 179.3 kB / 430 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3157, allocations: 3.422 kB / 430 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/0.3194, allocations: 1.983 MB / 432 MB, free: 42.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3194, allocations: 0 / 432 MB, free: 42.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.3215, allocations: 0.5739 MB / 432.6 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3217, allocations: 127.2 kB / 432.7 MB, free: 42.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.3217, allocations: 8.906 kB / 432.7 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.322, allocations: 26.34 kB / 432.7 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3221, allocations: 17.14 kB / 432.7 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3221, allocations: 6.281 kB / 432.8 MB, free: 42.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.3224, allocations: 270.2 kB / 433 MB, free: 42.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3224, allocations: 0 / 433 MB, free: 42.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.3229, allocations: 98.34 kB / 433.1 MB, free: 42.14 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.0001516/0.323, allocations: 98.78 kB / 433.2 MB, free: 42.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3244, allocations: 0.5091 MB / 433.7 MB, free: 41.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3244, allocations: 0 / 433.7 MB, free: 41.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.3247, allocations: 218.6 kB / 433.9 MB, free: 41.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.3253, allocations: 78.36 kB / 434 MB, free: 41.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3267, allocations: 0.746 MB / 434.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3271, allocations: 0.7834 MB / 435.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.3273, allocations: 45.44 kB / 435.6 MB, free: 40.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.3274, allocations: 30.16 kB / 435.6 MB, free: 40.39 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3274, allocations: 0 / 435.6 MB, free: 40.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01052/0.3379, allocations: 6.152 MB / 441.8 MB, free: 40.02 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)