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.000701/0.000701, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0007534/0.0007534, allocations: 172.7 kB / 15.95 MB, free: 208 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.271/1.271, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.145/0.145, allocations: 5.373 MB / 296.5 MB, free: 3.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 361.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.09843, allocations: 51.6 MB / 413.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.00339/0.1019, allocations: 3.028 MB / 416.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1035, allocations: 1.189 MB / 417.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.1038, allocations: 8 kB / 417.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.1043, allocations: 210.8 kB / 417.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.1046, allocations: 127 kB / 418.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.1048, allocations: 71.89 kB / 418.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.1053, allocations: 0.5288 MB / 418.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1055, allocations: 98 kB / 418.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.1058, allocations: 183.1 kB / 418.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1061, allocations: 227.1 kB / 419.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.1061, allocations: 24 kB / 419.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1063, allocations: 39.98 kB / 419.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.1063, allocations: 83.59 kB / 419.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.1064, allocations: 97.45 kB / 419.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1068, allocations: 410.9 kB / 419.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1068, allocations: 4 kB / 419.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1068, allocations: 0 / 419.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1068, allocations: 0 / 419.8 MB, free: 4.227 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.001703/0.1085, allocations: 0.7868 MB / 420.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1086, allocations: 8.031 kB / 420.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1087, allocations: 47.44 kB / 420.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.1099, allocations: 0.5129 MB / 421.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1099, allocations: 20.56 kB / 421.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.11, allocations: 28 kB / 421.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.1107, allocations: 365.3 kB / 421.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1107, allocations: 0 / 421.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.1108, allocations: 19.95 kB / 421.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1108, allocations: 8 kB / 421.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.1117, allocations: 385.9 kB / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.114, allocations: 1.418 MB / 423.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2041/0.3181, allocations: 469 kB / 423.8 MB, free: 45.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.3187, allocations: 167.9 kB / 424 MB, free: 45.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.3187, allocations: 3.062 kB / 424 MB, free: 45.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3187, allocations: 38.91 kB / 424 MB, free: 45.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.3188, allocations: 0 / 424 MB, free: 45.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005106/0.3239, allocations: 1.097 MB / 425.1 MB, free: 45.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3239, allocations: 51.41 kB / 425.2 MB, free: 45.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.3244, allocations: 393.5 kB / 425.6 MB, free: 45.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3244, allocations: 31.55 kB / 425.6 MB, free: 45.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3245, allocations: 222.6 kB / 425.8 MB, free: 44.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.3246, allocations: 71.7 kB / 425.9 MB, free: 44.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.3246, allocations: 6.688 kB / 425.9 MB, free: 44.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.3247, allocations: 352.2 kB / 426.2 MB, free: 44.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.3251, allocations: 157 kB / 426.4 MB, free: 44.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.3255, allocations: 186.2 kB / 426.6 MB, free: 44.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3258, allocations: 171.7 kB / 426.8 MB, free: 44.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3259, allocations: 2.625 kB / 426.8 MB, free: 44.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003617/0.3295, allocations: 0.8644 MB / 427.6 MB, free: 44.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3295, allocations: 4 kB / 427.6 MB, free: 44.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3295, allocations: 7.406 kB / 427.6 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.3306, allocations: 332.7 kB / 428 MB, free: 44.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3308, allocations: 57.92 kB / 428 MB, free: 44.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00684/0.3377, allocations: 4.006 MB / 432 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.3382, allocations: 71.09 kB / 432.1 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3382, allocations: 10.69 kB / 432.1 MB, free: 41.67 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.3384, allocations: 154.4 kB / 432.2 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.3385, allocations: 34.92 kB / 432.3 MB, free: 41.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.3386, allocations: 46.03 kB / 432.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3386, allocations: 2.469 kB / 432.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3386, allocations: 0 / 432.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3386, allocations: 4.453 kB / 432.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/0.3425, allocations: 1.227 MB / 433.6 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3425, allocations: 5.062 kB / 433.6 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3426, allocations: 42.69 kB / 433.6 MB, free: 41.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/0.3432, allocations: 260.6 kB / 433.9 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3433, allocations: 6.828 kB / 433.9 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005358/0.3486, allocations: 2.419 MB / 436.3 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3487, allocations: 64 / 436.3 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.3519, allocations: 0.8104 MB / 437.1 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.3521, allocations: 140.2 kB / 437.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.3522, allocations: 5.469 kB / 437.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.3525, allocations: 36.86 kB / 437.3 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.3526, allocations: 15.95 kB / 437.3 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3526, allocations: 15.42 kB / 437.3 MB, free: 39.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.3529, allocations: 273.6 kB / 437.6 MB, free: 39.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.3529, allocations: 0 / 437.6 MB, free: 39.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.3534, allocations: 113.2 kB / 437.7 MB, free: 39.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.3535, allocations: 101 kB / 437.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.3548, allocations: 0.6 MB / 438.4 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3548, allocations: 0 / 438.4 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.3553, allocations: 294.9 kB / 438.7 MB, free: 38.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.3558, allocations: 80.17 kB / 438.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3571, allocations: 0.8285 MB / 439.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3573, allocations: 0.7944 MB / 440.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.3575, allocations: 46.94 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.3576, allocations: 27.75 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3576, allocations: 0 / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01076/0.3684, allocations: 7.443 MB / 447.9 MB, free: 37.23 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: