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.004903/0.004903, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00115/0.00115, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1566/0.1566, allocations: 5.383 MB / 295.9 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 412.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3148, allocations: 50.62 MB / 463.4 MB, free: 21.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003967/0.3188, allocations: 3.438 MB / 466.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3209, allocations: 1.271 MB / 468.1 MB, free: 18.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3211, allocations: 4.312 kB / 468.1 MB, free: 18.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.3217, allocations: 233.8 kB / 468.4 MB, free: 18.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.3221, allocations: 172 kB / 468.5 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3224, allocations: 116.9 kB / 468.6 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.3231, allocations: 0.5823 MB / 469.2 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.3233, allocations: 133.5 kB / 469.3 MB, free: 17.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3236, allocations: 213.1 kB / 469.6 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.3239, allocations: 255.5 kB / 469.8 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.324, allocations: 53.62 kB / 469.9 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3241, allocations: 63.34 kB / 469.9 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.3242, allocations: 113 kB / 470 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.3244, allocations: 232 kB / 470.3 MB, free: 17.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.325, allocations: 0.54 MB / 470.8 MB, free: 17.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.325, allocations: 1.625 kB / 470.8 MB, free: 17.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.325, allocations: 4 kB / 470.8 MB, free: 17.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.325, allocations: 0 / 470.8 MB, free: 17.1 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.001868/0.3269, allocations: 0.8206 MB / 471.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.327, allocations: 9.656 kB / 471.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3271, allocations: 46.41 kB / 471.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3283, allocations: 0.4951 MB / 472.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3283, allocations: 22.53 kB / 472.2 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.3284, allocations: 24.31 kB / 472.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.329, allocations: 317.4 kB / 472.5 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3291, allocations: 2.547 kB / 472.5 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3291, allocations: 9.688 kB / 472.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3291, allocations: 6.844 kB / 472.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.3298, allocations: 280.3 kB / 472.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.332, allocations: 1.315 MB / 474.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.3327, allocations: 303.4 kB / 474.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.3331, allocations: 143 kB / 474.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3331, allocations: 1.094 kB / 474.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3331, allocations: 37.69 kB / 474.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3332, allocations: 0 / 474.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003478/0.3366, allocations: 0.7463 MB / 475.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.3367, allocations: 57.59 kB / 475.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.3372, allocations: 385.3 kB / 475.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3372, allocations: 29.7 kB / 475.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3374, allocations: 233 kB / 476 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3374, allocations: 50.66 kB / 476.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3375, allocations: 59.56 kB / 476.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.3376, allocations: 343.8 kB / 476.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.338, allocations: 113.8 kB / 476.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3383, allocations: 156.3 kB / 476.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.3389, allocations: 253.9 kB / 477 MB, free: 13.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3389, allocations: 1.094 kB / 477 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002599/0.3415, allocations: 0.6313 MB / 477.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3416, allocations: 6.609 kB / 477.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3416, allocations: 1.188 kB / 477.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.3426, allocations: 251.4 kB / 477.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.3428, allocations: 47.41 kB / 477.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/0.3485, allocations: 3.923 MB / 481.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.349, allocations: 51.62 kB / 481.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.349, allocations: 6.938 kB / 481.9 MB, free: 9.48 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.0002076/0.3492, allocations: 148.6 kB / 482.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.3493, allocations: 36.02 kB / 482.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.3494, allocations: 41 kB / 482.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3494, allocations: 2.219 kB / 482.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3494, allocations: 4 kB / 482.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3494, allocations: 0.9688 kB / 482.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.352, allocations: 0.9379 MB / 483.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.352, allocations: 5.188 kB / 483.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3521, allocations: 21.58 kB / 483.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.3526, allocations: 168.7 kB / 483.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3526, allocations: 11.98 kB / 483.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.3562, allocations: 2.143 MB / 485.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3563, allocations: 1.312 kB / 485.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.3583, allocations: 0.5756 MB / 486 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3584, allocations: 132.3 kB / 486.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.3585, allocations: 1.438 kB / 486.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3588, allocations: 30.5 kB / 486.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.3589, allocations: 9.703 kB / 486.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3589, allocations: 3 kB / 486.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003453/0.3592, allocations: 276.9 kB / 486.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3592, allocations: 5.156 kB / 486.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005938/0.3598, allocations: 96.59 kB / 486.5 MB, free: 5.965 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.0001724/0.36, allocations: 103.6 kB / 486.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3612, allocations: 0.5134 MB / 487.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3612, allocations: 0 / 487.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.3616, allocations: 213.6 kB / 487.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.3622, allocations: 76.2 kB / 487.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3636, allocations: 0.6463 MB / 488.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3639, allocations: 0.7804 MB / 488.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.3641, allocations: 42.91 kB / 488.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3642, allocations: 28.59 kB / 488.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3642, allocations: 0 / 488.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Templates: time 0.01223/0.3764, allocations: 6.593 MB / 495.5 MB, free: 424 kB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (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)