Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008467/0.000847, allocations: 168.7 kB / 15.95 MB, free: 204 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.251/1.251, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1318/0.1318, allocations: 5.382 MB / 296.5 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 11.98 kB / 361.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08535/0.08562, allocations: 51.61 MB / 413.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003093/0.08875, allocations: 2.825 MB / 416.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.09058, allocations: 1.134 MB / 417.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.09084, allocations: 4 kB / 417.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.09132, allocations: 206.8 kB / 417.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.09163, allocations: 111.2 kB / 417.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.09178, allocations: 59.91 kB / 417.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.09223, allocations: 470 kB / 418.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.09246, allocations: 90 kB / 418.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.09271, allocations: 163.3 kB / 418.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.093, allocations: 195.2 kB / 418.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.09305, allocations: 28 kB / 418.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.09314, allocations: 31.94 kB / 418.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.09321, allocations: 71.66 kB / 418.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.09329, allocations: 85.52 kB / 419 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.0936, allocations: 375 kB / 419.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.09361, allocations: 0 / 419.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09362, allocations: 0 / 419.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.09363, allocations: 0 / 419.3 MB, free: 4.785 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001487/0.09512, allocations: 0.7478 MB / 420.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.09517, allocations: 8.031 kB / 420.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.09525, allocations: 39.53 kB / 420.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.09609, allocations: 451 kB / 420.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.09612, allocations: 16.44 kB / 420.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.09618, allocations: 24 kB / 420.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.09669, allocations: 287.3 kB / 420.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.09671, allocations: 0 / 420.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.09674, allocations: 11.95 kB / 420.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.09675, allocations: 4 kB / 420.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.09727, allocations: 256.9 kB / 421.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.09916, allocations: 1.289 MB / 422.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.09951, allocations: 162.5 kB / 422.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.09976, allocations: 112.8 kB / 422.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.0998, allocations: 4 kB / 422.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.09982, allocations: 42.5 kB / 422.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.09983, allocations: 0 / 422.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006671/0.1005, allocations: 285.3 kB / 423 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1005, allocations: 51.41 kB / 423.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1009, allocations: 373.5 kB / 423.4 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1009, allocations: 29.7 kB / 423.5 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1011, allocations: 211.7 kB / 423.7 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1011, allocations: 23.66 kB / 423.7 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.1011, allocations: 8 kB / 423.7 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1545/0.2556, allocations: 342.8 kB / 424 MB, free: 45.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.256, allocations: 98.92 kB / 424.1 MB, free: 45.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2562, allocations: 140.2 kB / 424.3 MB, free: 44.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.2564, allocations: 117.2 kB / 424.4 MB, free: 44.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2564, allocations: 0 / 424.4 MB, free: 44.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008924/0.2573, allocations: 369.7 kB / 424.8 MB, free: 44.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2574, allocations: 8.453 kB / 424.8 MB, free: 44.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2574, allocations: 4.406 kB / 424.8 MB, free: 44.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/0.2578, allocations: 80.28 kB / 424.8 MB, free: 44.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.2581, allocations: 59.06 kB / 424.9 MB, free: 44.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.2592, allocations: 1.458 MB / 426.4 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.2595, allocations: 43.73 kB / 426.4 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2595, allocations: 5.5 kB / 426.4 MB, free: 43.61 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 (22): * Single equations (assignments): 21 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001432/0.2596, allocations: 146.4 kB / 426.6 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.2597, allocations: 32.58 kB / 426.6 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.2597, allocations: 31.78 kB / 426.6 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2598, allocations: 4.516 kB / 426.6 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2598, allocations: 0 / 426.6 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2598, allocations: 1.641 kB / 426.6 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.2605, allocations: 0.6144 MB / 427.2 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2605, allocations: 0 / 427.2 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2607, allocations: 36.45 kB / 427.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2607, allocations: 7.047 kB / 427.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2607, allocations: 3.375 kB / 427.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.2607, allocations: 0.8125 kB / 427.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2607, allocations: 0 / 427.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.2611, allocations: 322.9 kB / 427.6 MB, free: 43.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.2612, allocations: 119.6 kB / 427.7 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.2612, allocations: 7.328 kB / 427.7 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.2614, allocations: 28.94 kB / 427.7 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.2615, allocations: 6.531 kB / 427.8 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2615, allocations: 4.031 kB / 427.8 MB, free: 42.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.2617, allocations: 255.8 kB / 428 MB, free: 42.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2617, allocations: 0 / 428 MB, free: 42.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.262, allocations: 75.94 kB / 428.1 MB, free: 42.84 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.563e-05/0.2621, allocations: 100.8 kB / 428.2 MB, free: 42.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.2627, allocations: 356.5 kB / 428.5 MB, free: 42.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2628, allocations: 0 / 428.5 MB, free: 42.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.2629, allocations: 89.36 kB / 428.6 MB, free: 42.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2634, allocations: 70.33 kB / 428.7 MB, free: 42.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.2642, allocations: 0.6373 MB / 429.3 MB, free: 42.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.2644, allocations: 0.7684 MB / 430.1 MB, free: 41.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.2646, allocations: 44.31 kB / 430.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.2646, allocations: 28.22 kB / 430.2 MB, free: 41.55 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2646, allocations: 0 / 430.2 MB, free: 41.55 MB / 350.1 MB Notification: Performance of Templates: time 0.005635/0.2703, allocations: 3.307 MB / 433.5 MB, free: 41.37 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) Environment - environmentSimulation: