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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 108.8 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02431/0.02431, allocations: 5.407 MB / 345.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009305/0.0009306, allocations: 51.23 kB / 410.2 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06277/0.06371, allocations: 50.62 MB / 460.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003589/0.06733, allocations: 4.415 MB / 465.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.06876, allocations: 1.566 MB / 466.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.06896, allocations: 11.94 kB / 466.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.06979, allocations: 327.3 kB / 467.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.07012, allocations: 222.6 kB / 467.4 MB, free: 452 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.07036, allocations: 179.8 kB / 467.5 MB, free: 272 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.16/0.2303, allocations: 23.73 MB / 491.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007657/0.238, allocations: 7.27 MB / 498.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008421/0.2465, allocations: 6.62 MB / 0.4933 GB, free: 10.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.2574, allocations: 8.527 MB / 0.5017 GB, free: 5.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.2592, allocations: 0.952 MB / 0.5026 GB, free: 5.562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.2614, allocations: 0.9666 MB / 0.5035 GB, free: 5.555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.2629, allocations: 3.055 MB / 0.5065 GB, free: 2.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008206/0.2712, allocations: 7.463 MB / 0.5138 GB, free: 11.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.2922, allocations: 27.1 MB / 0.5403 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2922, allocations: 0 / 0.5403 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2922, allocations: 0 / 0.5403 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005107/0.2927, allocations: 0 / 0.5403 GB, free: 0.8398 MB / 346.7 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.0881/0.3808, allocations: 30.8 MB / 0.5703 GB, free: 1.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3809, allocations: 12.88 kB / 0.5704 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.385, allocations: 1.448 MB / 0.5718 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04531/0.4303, allocations: 18.8 MB / 0.5901 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004752/0.4308, allocations: 0.6256 MB / 0.5907 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.4329, allocations: 0.8203 MB / 0.5915 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/0.4577, allocations: 15.67 MB / 0.6068 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.4579, allocations: 24.31 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008943/0.4588, allocations: 348 kB / 0.6072 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.4589, allocations: 212 kB / 0.6074 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03032/0.4892, allocations: 17.6 MB / 0.6246 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.366/0.8553, allocations: 57.53 MB / 0.6808 GB, free: 87.65 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02505/0.8804, allocations: 21.37 MB / 0.7016 GB, free: 72.47 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009072/0.8895, allocations: 7.447 MB / 0.7089 GB, free: 65.02 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.8897, allocations: 78.67 kB / 0.709 GB, free: 64.95 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8897, allocations: 78.08 kB / 0.7091 GB, free: 64.86 MB / 442.8 MB Notification: Performance of pre-optimization done (n=448): time 5.7e-06/0.8897, allocations: 3.938 kB / 0.7091 GB, free: 64.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=448): time 0.08952/0.9792, allocations: 36.3 MB / 0.7445 GB, free: 29.07 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.9793, allocations: 98.92 kB / 0.7446 GB, free: 28.96 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01848/0.9978, allocations: 15.19 MB / 0.7594 GB, free: 13.95 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001431/0.9993, allocations: 109.7 kB / 0.7595 GB, free: 13.84 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003653/1.003, allocations: 6.099 MB / 0.7655 GB, free: 8.117 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.004, allocations: 1.576 MB / 0.767 GB, free: 6.551 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003678/1.008, allocations: 2.097 MB / 0.7691 GB, free: 4.438 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/1.008, allocations: 305.1 kB / 0.7694 GB, free: 4.137 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01206/1.02, allocations: 7.644 MB / 0.7768 GB, free: 12.48 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01459/1.035, allocations: 8.842 MB / 0.7855 GB, free: 3.297 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02536/1.06, allocations: 14.4 MB / 0.7995 GB, free: 4.5 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/1.06, allocations: 8 kB / 0.7995 GB, free: 4.492 MB / 474.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.2749/1.335, allocations: 39.94 MB / 0.8385 GB, free: 148 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/1.335, allocations: 21.06 kB / 0.8386 GB, free: 148 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/1.335, allocations: 23.88 kB / 0.8386 GB, free: 148 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04323/1.378, allocations: 26.01 MB / 0.864 GB, free: 141 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/1.385, allocations: 1.491 MB / 0.8654 GB, free: 139.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4635/1.848, allocations: 190.5 MB / 1.052 GB, free: 131.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/1.862, allocations: 2.562 MB / 1.054 GB, free: 131.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.863, allocations: 379.5 kB / 1.054 GB, free: 131.4 MB / 0.4949 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.005513/1.868, allocations: 4.515 MB / 1.059 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.87, allocations: 1.166 MB / 1.06 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07942/1.949, allocations: 31.81 MB / 1.091 GB, free: 111.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/1.949, allocations: 44 kB / 1.091 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.949, allocations: 0 / 1.091 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/1.949, allocations: 23.91 kB / 1.091 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1073/2.057, allocations: 46.64 MB / 1.137 GB, free: 65.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/2.057, allocations: 3.938 kB / 1.137 GB, free: 65.19 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/2.058, allocations: 451.4 kB / 1.137 GB, free: 64.75 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0206/2.079, allocations: 15.48 MB / 1.152 GB, free: 49.31 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000489/2.079, allocations: 107.9 kB / 1.152 GB, free: 49.21 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4139/2.493, allocations: 108.3 MB / 1.258 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.493, allocations: 0 / 1.258 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08962/2.583, allocations: 41.6 MB / 1.299 GB, free: 87.43 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006211/2.589, allocations: 2.653 MB / 1.301 GB, free: 84.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/2.591, allocations: 76 kB / 1.301 GB, free: 84.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00822/2.6, allocations: 1.4 MB / 1.303 GB, free: 83.33 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004994/2.6, allocations: 272.1 kB / 1.303 GB, free: 83.06 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004015/2.6, allocations: 143.9 kB / 1.303 GB, free: 82.92 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01127/2.612, allocations: 10.49 MB / 1.313 GB, free: 72.51 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.41e-07/2.612, allocations: 0 / 1.313 GB, free: 72.51 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009292/2.621, allocations: 3.716 MB / 1.317 GB, free: 68.89 MB / 0.4949 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.0004658/2.622, allocations: 195.1 kB / 1.317 GB, free: 68.72 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.06308/2.685, allocations: 32.81 MB / 1.349 GB, free: 35.13 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/2.685, allocations: 0 / 1.349 GB, free: 35.13 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.04646/2.731, allocations: 17.18 MB / 1.366 GB, free: 17.94 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01395/2.745, allocations: 2.983 MB / 1.369 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.231/2.976, allocations: 36.65 MB / 1.405 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/2.989, allocations: 8.783 MB / 1.413 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01134/3.001, allocations: 3.591 MB / 1.417 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/3.003, allocations: 0.6328 MB / 1.417 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of SimCode: time 8.12e-07/3.003, allocations: 3.844 kB / 1.417 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.4922/3.496, allocations: 269.7 MB / 1.681 GB, free: 57.38 MB / 0.4949 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)