Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) 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_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 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) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02394/0.02394, allocations: 5.393 MB / 21.65 MB, free: 1.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.0009972, allocations: 104.8 kB / 23.64 MB, free: 0.7617 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.001064/0.001064, allocations: 200.4 kB / 25.77 MB, free: 4.551 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 250.6 MB, free: 8.457 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009493/0.009493, allocations: 2.318 MB / 304.3 MB, free: 6.516 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 91.86 kB / 368.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2184, allocations: 51.21 MB / 419.8 MB, free: 26.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006353/0.2248, allocations: 6.888 MB / 426.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006109/0.2309, allocations: 4.017 MB / 430.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2323, allocations: 19.94 kB / 430.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.235, allocations: 1.177 MB / 431.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.2371, allocations: 0.8701 MB / 432.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.2388, allocations: 0.6237 MB / 433.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.2401, allocations: 1.406 MB / 434.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.2411, allocations: 1.013 MB / 435.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.2416, allocations: 0.5643 MB / 436.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.2422, allocations: 0.6846 MB / 437.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2424, allocations: 140 kB / 437.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.243, allocations: 435.6 kB / 437.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.2432, allocations: 295 kB / 437.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.2436, allocations: 0.6336 MB / 438.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2449, allocations: 1.76 MB / 440.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2449, allocations: 0 / 440.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2449, allocations: 0 / 440.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2449, allocations: 3.938 kB / 440.3 MB, free: 5.707 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003411/0.2483, allocations: 1.798 MB / 442.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2484, allocations: 8.031 kB / 442.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.2504, allocations: 383.1 kB / 442.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.2521, allocations: 0.8049 MB / 443.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.2522, allocations: 78 kB / 443.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.2524, allocations: 107.9 kB / 443.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.2541, allocations: 1.126 MB / 444.6 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.2541, allocations: 3.938 kB / 444.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.488e-05/0.2542, allocations: 44 kB / 444.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.2542, allocations: 24 kB / 444.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2559, allocations: 0.9485 MB / 445.6 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005957/0.2618, allocations: 4.318 MB / 450 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.2644, allocations: 1.666 MB / 451.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.2651, allocations: 320.6 kB / 451.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.2652, allocations: 97.52 kB / 452 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008315/0.266, allocations: 454.6 kB / 452.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.305e-06/0.266, allocations: 0 / 452.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005853/0.2719, allocations: 1.545 MB / 454 MB, free: 7.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.2721, allocations: 277.6 kB / 454.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.273, allocations: 0.6642 MB / 455 MB, free: 6.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.2731, allocations: 41.7 kB / 455 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.2735, allocations: 0.5218 MB / 455.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2736, allocations: 209.1 kB / 455.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.2739, allocations: 186.4 kB / 455.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2741, allocations: 394.7 kB / 456.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.2747, allocations: 285.8 kB / 456.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/0.2755, allocations: 0.5365 MB / 457.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.2769, allocations: 0.914 MB / 458 MB, free: 2.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.2769, allocations: 3.938 kB / 458 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002143/0.2791, allocations: 1.071 MB / 459.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.2792, allocations: 71.45 kB / 459.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.2792, allocations: 8 kB / 459.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.2797, allocations: 88.77 kB / 459.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/0.2805, allocations: 219.7 kB / 459.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.2822, allocations: 1.578 MB / 461 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/0.2831, allocations: 103.1 kB / 461.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.2832, allocations: 48.06 kB / 461.2 MB, free: 15.62 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0006443/0.2839, allocations: 335.6 kB / 461.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.284, allocations: 83 kB / 461.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.2859, allocations: 0.9205 MB / 462.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.2859, allocations: 8 kB / 462.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2859, allocations: 0 / 462.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.286, allocations: 3.984 kB / 462.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/0.2919, allocations: 2.207 MB / 464.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2919, allocations: 0 / 464.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.2923, allocations: 91.83 kB / 464.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008382/0.2931, allocations: 326.4 kB / 465.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.2932, allocations: 27.97 kB / 465.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.2945, allocations: 0.8857 MB / 466.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2945, allocations: 32 / 466.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.2998, allocations: 1.635 MB / 467.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.3002, allocations: 227.9 kB / 467.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.3004, allocations: 20 kB / 467.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.301, allocations: 51.89 kB / 468 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.3011, allocations: 36.39 kB / 468 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.3012, allocations: 31.97 kB / 468.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005886/0.3018, allocations: 467 kB / 468.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3018, allocations: 3.938 kB / 468.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009655/0.3027, allocations: 319 kB / 468.8 MB, free: 7.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.3042, allocations: 0.6568 MB / 469.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.3062, allocations: 0.968 MB / 470.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3062, allocations: 0 / 470.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.307, allocations: 481.4 kB / 470.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/0.3079, allocations: 179.6 kB / 471.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.311, allocations: 1.702 MB / 472.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.3115, allocations: 1.006 MB / 473.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004351/0.312, allocations: 122.4 kB / 473.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3122, allocations: 79.39 kB / 474 MB, free: 2.676 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3122, allocations: 0 / 474 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Templates: time 0.02046/0.3326, allocations: 12.18 MB / 486.2 MB, free: 6.586 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)