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.001003/0.001004, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00958/0.009581, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1665/0.1665, allocations: 5.378 MB / 296.8 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 8 kB / 362.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 51.6 MB / 414.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004163/0.1212, allocations: 3.096 MB / 417.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1236, allocations: 1.243 MB / 418.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.1241, allocations: 4 kB / 418.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.1248, allocations: 214.9 kB / 418.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.1253, allocations: 135.1 kB / 418.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1256, allocations: 99.91 kB / 419 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.1263, allocations: 0.5408 MB / 419.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.1266, allocations: 112 kB / 419.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.127, allocations: 183.2 kB / 419.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.1274, allocations: 223 kB / 420 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.1275, allocations: 24 kB / 420.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1276, allocations: 28 kB / 420.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.1277, allocations: 79.59 kB / 420.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.128, allocations: 232.5 kB / 420.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.1287, allocations: 0.4903 MB / 420.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1287, allocations: 4 kB / 420.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1287, allocations: 0 / 420.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.1287, allocations: 0 / 420.9 MB, free: 3.422 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.002151/0.1309, allocations: 0.7675 MB / 421.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1309, allocations: 12.03 kB / 421.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.1311, allocations: 44.38 kB / 421.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1324, allocations: 0.4962 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.1325, allocations: 20.69 kB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.1325, allocations: 27.94 kB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.1332, allocations: 333.4 kB / 422.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1332, allocations: 3.938 kB / 422.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1333, allocations: 12 kB / 422.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1333, allocations: 8 kB / 422.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.134, allocations: 294.1 kB / 422.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2295/0.3635, allocations: 1.354 MB / 424.2 MB, free: 45.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.3644, allocations: 318.9 kB / 424.6 MB, free: 45.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3649, allocations: 147.9 kB / 424.7 MB, free: 45.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.3649, allocations: 0.9844 kB / 424.7 MB, free: 45.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3649, allocations: 35.69 kB / 424.7 MB, free: 45.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.805e-06/0.3649, allocations: 0 / 424.7 MB, free: 45.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003712/0.3687, allocations: 0.8136 MB / 425.5 MB, free: 44.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3687, allocations: 56.84 kB / 425.6 MB, free: 44.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.3692, allocations: 388.8 kB / 426 MB, free: 44.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3693, allocations: 30.73 kB / 426 MB, free: 44.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3694, allocations: 217.9 kB / 426.2 MB, free: 44.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.3694, allocations: 57.27 kB / 426.3 MB, free: 44.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.3695, allocations: 29.44 kB / 426.3 MB, free: 44.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.3696, allocations: 346.2 kB / 426.6 MB, free: 44.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.3699, allocations: 121.8 kB / 426.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.3702, allocations: 161 kB / 426.9 MB, free: 44.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.3708, allocations: 265.2 kB / 427.2 MB, free: 44.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3708, allocations: 0 / 427.2 MB, free: 44.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002449/0.3732, allocations: 0.6705 MB / 427.9 MB, free: 44.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3733, allocations: 6.344 kB / 427.9 MB, free: 44.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3733, allocations: 0 / 427.9 MB, free: 44.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009261/0.3742, allocations: 256.7 kB / 428.1 MB, free: 44.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.3745, allocations: 54.14 kB / 428.2 MB, free: 44.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/0.38, allocations: 3.643 MB / 431.8 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.3805, allocations: 58.69 kB / 431.9 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3805, allocations: 9.953 kB / 431.9 MB, free: 41.29 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.0002317/0.3808, allocations: 147.2 kB / 432 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.3808, allocations: 32.56 kB / 432 MB, free: 41.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.3809, allocations: 40.14 kB / 432.1 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3809, allocations: 2.141 kB / 432.1 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3809, allocations: 7.875 kB / 432.1 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3809, allocations: 3.938 kB / 432.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.3835, allocations: 0.9688 MB / 433.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3836, allocations: 0.6875 kB / 433.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3837, allocations: 33.92 kB / 433.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.3841, allocations: 181 kB / 433.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3842, allocations: 8.469 kB / 433.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.388, allocations: 2.03 MB / 435.3 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.388, allocations: 3.281 kB / 435.3 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.3901, allocations: 0.6076 MB / 435.9 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3903, allocations: 131.5 kB / 436.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.3903, allocations: 10.84 kB / 436.1 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3906, allocations: 36.89 kB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3907, allocations: 16.91 kB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3907, allocations: 5.594 kB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.3911, allocations: 268.8 kB / 436.4 MB, free: 39.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3911, allocations: 0 / 436.4 MB, free: 39.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.3916, allocations: 95.47 kB / 436.5 MB, free: 39.07 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.0002061/0.3918, allocations: 108.8 kB / 436.6 MB, free: 38.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3929, allocations: 0.5265 MB / 437.1 MB, free: 38.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.393, allocations: 0 / 437.1 MB, free: 38.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.3933, allocations: 225.5 kB / 437.3 MB, free: 38.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.3939, allocations: 74.03 kB / 437.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3952, allocations: 0.7829 MB / 438.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.3954, allocations: 0.7871 MB / 439 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.3956, allocations: 42.88 kB / 439 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.3957, allocations: 28.05 kB / 439 MB, free: 37.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3957, allocations: 0 / 439 MB, free: 37.46 MB / 350.1 MB Notification: Performance of Templates: time 0.0104/0.4061, allocations: 6.101 MB / 445.1 MB, free: 37.09 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: