Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1454/0.1454, allocations: 5.389 MB / 295.8 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 59.91 kB / 360.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 50.61 MB / 411.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005347/0.1232, allocations: 3.506 MB / 415 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.1257, allocations: 1.277 MB / 416.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.1262, allocations: 8 kB / 416.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.1271, allocations: 226.6 kB / 416.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007268/0.1278, allocations: 158.8 kB / 416.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1282, allocations: 123.8 kB / 416.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.129, allocations: 0.5952 MB / 417.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.1292, allocations: 128 kB / 417.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.1295, allocations: 227.1 kB / 417.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1298, allocations: 270.9 kB / 418 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.1299, allocations: 56 kB / 418.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.13, allocations: 67.98 kB / 418.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.1301, allocations: 107.6 kB / 418.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1303, allocations: 250.7 kB / 418.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.1309, allocations: 0.5451 MB / 419 MB, free: 3.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1309, allocations: 0 / 419 MB, free: 3.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1309, allocations: 0 / 419 MB, free: 3.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.131, allocations: 0 / 419 MB, free: 3.887 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001883/0.1328, allocations: 0.8413 MB / 419.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1329, allocations: 12.03 kB / 419.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.133, allocations: 44.38 kB / 419.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.1342, allocations: 0.5141 MB / 420.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1343, allocations: 20.69 kB / 420.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.1343, allocations: 31.94 kB / 420.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.1351, allocations: 361.3 kB / 420.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1351, allocations: 0 / 420.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.1351, allocations: 12 kB / 420.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1351, allocations: 4 kB / 420.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.1361, allocations: 369.9 kB / 421.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.1384, allocations: 1.433 MB / 422.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1976/0.336, allocations: 436.6 kB / 423.1 MB, free: 48.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.3369, allocations: 165.7 kB / 423.2 MB, free: 48.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3369, allocations: 3.156 kB / 423.2 MB, free: 48.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.337, allocations: 35.06 kB / 423.3 MB, free: 48.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.166e-06/0.337, allocations: 1.094 kB / 423.3 MB, free: 48.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.009572/0.3466, allocations: 1.019 MB / 424.3 MB, free: 47.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3466, allocations: 54.5 kB / 424.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.3473, allocations: 396.5 kB / 424.7 MB, free: 47.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.3474, allocations: 31.64 kB / 424.8 MB, free: 47.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3476, allocations: 221 kB / 425 MB, free: 47.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.3477, allocations: 74.83 kB / 425.1 MB, free: 47.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3479, allocations: 68.75 kB / 425.1 MB, free: 47.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3481, allocations: 354 kB / 425.5 MB, free: 47.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.3487, allocations: 139.2 kB / 425.6 MB, free: 47.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.3495, allocations: 188.2 kB / 425.8 MB, free: 47.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.3507, allocations: 315.1 kB / 426.1 MB, free: 47.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.3508, allocations: 4.469 kB / 426.1 MB, free: 47.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.006708/0.3575, allocations: 0.8198 MB / 426.9 MB, free: 47.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3575, allocations: 4 kB / 426.9 MB, free: 47.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3576, allocations: 5.25 kB / 426.9 MB, free: 47.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.3593, allocations: 338.1 kB / 427.3 MB, free: 47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.3598, allocations: 53.78 kB / 427.3 MB, free: 47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.3727, allocations: 4.319 MB / 431.6 MB, free: 43.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.3734, allocations: 51.03 kB / 431.7 MB, free: 43.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.3735, allocations: 24.72 kB / 431.7 MB, free: 43.56 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.3738, allocations: 149.8 kB / 431.9 MB, free: 43.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3739, allocations: 38.41 kB / 431.9 MB, free: 43.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.374, allocations: 43.62 kB / 431.9 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.374, allocations: 5 kB / 431.9 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.374, allocations: 0.875 kB / 431.9 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3741, allocations: 0 / 431.9 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007148/0.3812, allocations: 1.187 MB / 433.1 MB, free: 42.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3812, allocations: 0 / 433.1 MB, free: 42.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3815, allocations: 36.23 kB / 433.2 MB, free: 42.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.3826, allocations: 253 kB / 433.4 MB, free: 42.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.3827, allocations: 11.02 kB / 433.4 MB, free: 42.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.3935, allocations: 2.554 MB / 436 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3936, allocations: 2.812 kB / 436 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/0.4, allocations: 0.7718 MB / 436.7 MB, free: 40.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.4005, allocations: 139.4 kB / 436.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.4006, allocations: 10.42 kB / 436.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.4013, allocations: 26.11 kB / 436.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.4014, allocations: 19.86 kB / 436.9 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.4015, allocations: 6.578 kB / 436.9 MB, free: 40.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004759/0.402, allocations: 277.3 kB / 437.2 MB, free: 40.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.402, allocations: 3 kB / 437.2 MB, free: 40.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009285/0.403, allocations: 109.3 kB / 437.3 MB, free: 40.44 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.4032, allocations: 104.9 kB / 437.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.4055, allocations: 0.6141 MB / 438 MB, free: 40.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4055, allocations: 0 / 438 MB, free: 40.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.4064, allocations: 281.7 kB / 438.3 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4075, allocations: 81.61 kB / 438.4 MB, free: 39.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.409, allocations: 0.7055 MB / 439.1 MB, free: 39.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.4093, allocations: 0.7978 MB / 439.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.4095, allocations: 46.05 kB / 439.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.4096, allocations: 26.88 kB / 440 MB, free: 38.74 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4096, allocations: 0 / 440 MB, free: 38.74 MB / 350.1 MB Notification: Performance of Templates: time 0.01316/0.4227, allocations: 8.15 MB / 448.1 MB, free: 38.23 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)