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.0008534/0.0008535, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008464/0.0008466, allocations: 172.7 kB / 15.95 MB, free: 208 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.255/1.255, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1471/0.1471, allocations: 5.371 MB / 296.5 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 8 kB / 361.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09719, allocations: 51.6 MB / 413.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003549/0.1008, allocations: 2.957 MB / 416.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1028, allocations: 1.189 MB / 417.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.1032, allocations: 4 kB / 417.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.1038, allocations: 202.9 kB / 417.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.1044, allocations: 127.1 kB / 418 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1046, allocations: 75.89 kB / 418.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.1054, allocations: 0.4979 MB / 418.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.1057, allocations: 98 kB / 418.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.106, allocations: 171.3 kB / 418.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1063, allocations: 215.1 kB / 419 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.1064, allocations: 28 kB / 419.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1065, allocations: 39.98 kB / 419.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1066, allocations: 75.59 kB / 419.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.1067, allocations: 93.52 kB / 419.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.1071, allocations: 402.9 kB / 419.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1071, allocations: 0 / 419.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1071, allocations: 0 / 419.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1071, allocations: 0 / 419.7 MB, free: 4.406 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.001752/0.1089, allocations: 0.7713 MB / 420.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1089, allocations: 8.031 kB / 420.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1091, allocations: 47.53 kB / 420.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.1102, allocations: 498.9 kB / 421 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1102, allocations: 16.56 kB / 421 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.1103, allocations: 28 kB / 421 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.1109, allocations: 333.2 kB / 421.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1109, allocations: 0 / 421.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.1109, allocations: 15.95 kB / 421.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1109, allocations: 4 kB / 421.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.1116, allocations: 298 kB / 421.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1138, allocations: 1.354 MB / 423 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.1145, allocations: 311.5 kB / 423.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1148, allocations: 152.7 kB / 423.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.1149, allocations: 0 / 423.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1149, allocations: 42.56 kB / 423.5 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1149, allocations: 0 / 423.5 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.1835/0.2984, allocations: 0.8025 MB / 424.3 MB, free: 45.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2985, allocations: 57.41 kB / 424.4 MB, free: 45.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.2992, allocations: 380.3 kB / 424.7 MB, free: 45.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.2993, allocations: 26.27 kB / 424.7 MB, free: 45.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2995, allocations: 222.7 kB / 425 MB, free: 45.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.2996, allocations: 49.09 kB / 425 MB, free: 45.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.2996, allocations: 5.875 kB / 425 MB, free: 45.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2998, allocations: 345.3 kB / 425.4 MB, free: 44.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.3001, allocations: 130 kB / 425.5 MB, free: 44.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.3005, allocations: 159.5 kB / 425.6 MB, free: 44.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.3008, allocations: 128 kB / 425.8 MB, free: 44.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3008, allocations: 3.344 kB / 425.8 MB, free: 44.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002206/0.303, allocations: 0.6651 MB / 426.4 MB, free: 44.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.303, allocations: 7.922 kB / 426.4 MB, free: 44.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.303, allocations: 4.062 kB / 426.4 MB, free: 44.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.3039, allocations: 265.9 kB / 426.7 MB, free: 44.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3041, allocations: 48.14 kB / 426.8 MB, free: 44.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.3089, allocations: 3.645 MB / 430.4 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.3092, allocations: 47.97 kB / 430.4 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3093, allocations: 13.12 kB / 430.5 MB, free: 41.9 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 (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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.3094, allocations: 151.4 kB / 430.6 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.3095, allocations: 40.75 kB / 430.6 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.3096, allocations: 33.5 kB / 430.7 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3096, allocations: 0 / 430.7 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3096, allocations: 3.938 kB / 430.7 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3096, allocations: 3.906 kB / 430.7 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.3118, allocations: 0.974 MB / 431.7 MB, free: 41.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3118, allocations: 0 / 431.7 MB, free: 41.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.3119, allocations: 30.19 kB / 431.7 MB, free: 41.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003576/0.3123, allocations: 180.2 kB / 431.9 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3123, allocations: 10.28 kB / 431.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.3155, allocations: 2.031 MB / 433.9 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3156, allocations: 11.11 kB / 433.9 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.3174, allocations: 0.6039 MB / 434.5 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3175, allocations: 127.8 kB / 434.6 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.3176, allocations: 9.625 kB / 434.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3178, allocations: 28.67 kB / 434.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.3179, allocations: 12.2 kB / 434.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3179, allocations: 11.88 kB / 434.7 MB, free: 39.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.3182, allocations: 268.7 kB / 435 MB, free: 39.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3182, allocations: 0 / 435 MB, free: 39.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.3187, allocations: 97.72 kB / 435.1 MB, free: 39.68 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 (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.0001174/0.3188, allocations: 100.1 kB / 435.2 MB, free: 39.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.3197, allocations: 0.5251 MB / 435.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3197, allocations: 0 / 435.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.32, allocations: 229.2 kB / 435.9 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3205, allocations: 70.06 kB / 436 MB, free: 39.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3215, allocations: 0.7455 MB / 436.7 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.3217, allocations: 0.7829 MB / 437.5 MB, free: 38.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.3219, allocations: 47.56 kB / 437.6 MB, free: 38.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.322, allocations: 23.44 kB / 437.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.322, allocations: 4 kB / 437.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of Templates: time 0.008937/0.3309, allocations: 5.96 MB / 443.5 MB, free: 37.73 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: