Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008733/0.008733, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001891/0.001892, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1408/0.1408, allocations: 5.387 MB / 295.9 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 59.89 kB / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3478, allocations: 50.61 MB / 463.4 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.00565/0.3535, allocations: 4.4 MB / 467.8 MB, free: 18.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.3564, allocations: 1.583 MB / 469.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.3569, allocations: 12.78 kB / 469.4 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009342/0.3579, allocations: 299.4 kB / 469.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.3585, allocations: 233.8 kB / 469.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.3591, allocations: 215.8 kB / 470.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02459/0.3837, allocations: 25.69 MB / 495.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.3961, allocations: 7.947 MB / 0.492 GB, free: 8.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01587/0.412, allocations: 9.337 MB / 0.5011 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02012/0.4322, allocations: 10.85 MB / 0.5117 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009192/0.4414, allocations: 2.707 MB / 0.5143 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.4545, allocations: 2.711 MB / 0.517 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01146/0.466, allocations: 5.119 MB / 0.522 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02422/0.4902, allocations: 9.531 MB / 0.5313 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04058/0.5309, allocations: 29 MB / 0.5596 GB, free: 3.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.5309, allocations: 0 / 0.5596 GB, free: 3.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5309, allocations: 0 / 0.5596 GB, free: 3.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001028/0.532, allocations: 4 kB / 0.5596 GB, free: 3.465 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.5956/1.128, allocations: 31.82 MB / 0.5907 GB, free: 75.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.128, allocations: 9.438 kB / 0.5907 GB, free: 75.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/1.14, allocations: 1.524 MB / 0.5922 GB, free: 74.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06211/1.202, allocations: 19.06 MB / 0.6108 GB, free: 65.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/1.204, allocations: 0.6265 MB / 0.6114 GB, free: 65.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005407/1.209, allocations: 0.8167 MB / 0.6122 GB, free: 64.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04182/1.251, allocations: 15.67 MB / 0.6275 GB, free: 51.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006176/1.252, allocations: 22.16 kB / 0.6275 GB, free: 51.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005616/1.257, allocations: 348 kB / 0.6279 GB, free: 50.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/1.258, allocations: 217.1 kB / 0.6281 GB, free: 50.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03982/1.297, allocations: 17.6 MB / 0.6452 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/1.424, allocations: 57.34 MB / 0.7012 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03855/1.463, allocations: 21.36 MB / 0.7221 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01462/1.478, allocations: 7.449 MB / 0.7294 GB, free: 10.29 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/1.478, allocations: 73.56 kB / 0.7294 GB, free: 10.23 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/1.478, allocations: 78.08 kB / 0.7295 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 6.442e-06/1.478, allocations: 0 / 0.7295 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1347/1.613, allocations: 36.36 MB / 0.765 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.613, allocations: 98.92 kB / 0.7651 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04202/1.655, allocations: 15.2 MB / 0.78 GB, free: 6.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002159/1.657, allocations: 113.7 kB / 0.7801 GB, free: 6.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.009514/1.667, allocations: 6.2 MB / 0.7861 GB, free: 224 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.3459/2.013, allocations: 1.645 MB / 0.7877 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009458/2.022, allocations: 2.111 MB / 0.7898 GB, free: 175.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.18e-05/2.022, allocations: 302.7 kB / 0.7901 GB, free: 175 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01834/2.041, allocations: 7.645 MB / 0.7976 GB, free: 173.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01904/2.06, allocations: 8.834 MB / 0.8062 GB, free: 170.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03019/2.09, allocations: 14.4 MB / 0.8202 GB, free: 164.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/2.09, allocations: 7.406 kB / 0.8203 GB, free: 164.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1269/2.217, allocations: 40 MB / 0.8593 GB, free: 137.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/2.217, allocations: 20.19 kB / 0.8593 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.773e-05/2.217, allocations: 24.88 kB / 0.8594 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05097/2.268, allocations: 26.01 MB / 0.8848 GB, free: 111.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/2.28, allocations: 1.486 MB / 0.8862 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8142/3.094, allocations: 202.9 MB / 1.084 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02344/3.118, allocations: 2.587 MB / 1.087 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004263/3.122, allocations: 379.7 kB / 1.087 GB, free: 129.8 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01411/3.136, allocations: 4.515 MB / 1.092 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006052/3.142, allocations: 1.217 MB / 1.093 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0949/3.237, allocations: 31.81 MB / 1.124 GB, free: 93.22 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.158e-05/3.237, allocations: 44 kB / 1.124 GB, free: 93.18 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/3.237, allocations: 0 / 1.124 GB, free: 93.18 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001476/3.237, allocations: 23.91 kB / 1.124 GB, free: 93.16 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1398/3.377, allocations: 46.47 MB / 1.169 GB, free: 46.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.012e-05/3.377, allocations: 0 / 1.169 GB, free: 46.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/3.379, allocations: 455.4 kB / 1.17 GB, free: 46.45 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02566/3.405, allocations: 15.46 MB / 1.185 GB, free: 31.03 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002093/3.407, allocations: 115.9 kB / 1.185 GB, free: 30.91 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6928/4.1, allocations: 115 MB / 1.297 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/4.1, allocations: 0 / 1.297 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.101/4.201, allocations: 30.94 MB / 1.328 GB, free: 100.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01043/4.212, allocations: 2.72 MB / 1.33 GB, free: 97.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007463/4.219, allocations: 72 kB / 1.33 GB, free: 97.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01407/4.233, allocations: 1.393 MB / 1.332 GB, free: 96.34 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/4.234, allocations: 276.1 kB / 1.332 GB, free: 96.07 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001706/4.236, allocations: 143.9 kB / 1.332 GB, free: 95.93 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0223/4.258, allocations: 10.49 MB / 1.342 GB, free: 85.51 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.954e-06/4.259, allocations: 4 kB / 1.342 GB, free: 85.51 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.02778/4.286, allocations: 3.727 MB / 1.346 GB, free: 81.9 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/4.289, allocations: 191 kB / 1.346 GB, free: 81.73 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.08055/4.369, allocations: 33.18 MB / 1.379 GB, free: 47.77 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/4.369, allocations: 1.969 kB / 1.379 GB, free: 47.77 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.05347/4.423, allocations: 17.31 MB / 1.395 GB, free: 30.44 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02937/4.452, allocations: 3.117 MB / 1.398 GB, free: 27.41 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3665/4.819, allocations: 29.92 MB / 1.428 GB, free: 172 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01833/4.837, allocations: 8.69 MB / 1.436 GB, free: 170.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01545/4.852, allocations: 3.774 MB / 1.44 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003875/4.856, allocations: 0.6311 MB / 1.44 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of SimCode: time 7.31e-07/4.856, allocations: 3.938 kB / 1.44 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.7051/5.561, allocations: 273.1 MB / 1.707 GB, free: 148.3 MB / 0.5763 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)