Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03621/0.03621, allocations: 5.397 MB / 21.65 MB, free: 1.512 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.001159/0.001159, allocations: 106.2 kB / 23.65 MB, free: 0.8438 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.0014/0.001401, allocations: 198 kB / 25.77 MB, free: 4.785 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.355/1.355, allocations: 222.9 MB / 250.7 MB, free: 8.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01678/0.01678, allocations: 2.324 MB / 304.3 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 91.84 kB / 368.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1963, allocations: 51.22 MB / 419.8 MB, free: 26.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.006229/0.2025, allocations: 6.88 MB / 426.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.2075, allocations: 4.021 MB / 430.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.2082, allocations: 23.94 kB / 430.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.2105, allocations: 1.17 MB / 431.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.212, allocations: 0.8847 MB / 432.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2135, allocations: 0.6094 MB / 433.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2145, allocations: 1.406 MB / 434.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.2156, allocations: 1.005 MB / 435.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.2161, allocations: 0.5721 MB / 436.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.2168, allocations: 0.6885 MB / 437.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.2169, allocations: 144 kB / 437.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.2176, allocations: 427.7 kB / 437.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.2177, allocations: 298.9 kB / 437.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.2182, allocations: 0.6258 MB / 438.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2195, allocations: 1.764 MB / 440.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2195, allocations: 4 kB / 440.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2195, allocations: 0 / 440.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.2195, allocations: 0 / 440.3 MB, free: 5.672 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.003566/0.2231, allocations: 1.805 MB / 442.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2231, allocations: 8.031 kB / 442.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.2251, allocations: 375.1 kB / 442.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.2266, allocations: 0.8166 MB / 443.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.2267, allocations: 78 kB / 443.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.2268, allocations: 107.9 kB / 443.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2284, allocations: 1.126 MB / 444.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.2285, allocations: 7.938 kB / 444.6 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.2286, allocations: 44 kB / 444.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2286, allocations: 28 kB / 444.7 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.2302, allocations: 0.9485 MB / 445.7 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006081/0.2363, allocations: 4.318 MB / 450 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.239, allocations: 1.658 MB / 451.6 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000692/0.2397, allocations: 317.9 kB / 451.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.2398, allocations: 89.53 kB / 452 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008348/0.2407, allocations: 466.6 kB / 452.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/0.2407, allocations: 0 / 452.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005775/0.2465, allocations: 1.541 MB / 454 MB, free: 7.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.2466, allocations: 277.6 kB / 454.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.2475, allocations: 0.6604 MB / 455 MB, free: 6.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.2475, allocations: 37.7 kB / 455 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.2479, allocations: 0.5257 MB / 455.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.2481, allocations: 217 kB / 455.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.2484, allocations: 186.4 kB / 455.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2486, allocations: 382.8 kB / 456.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006418/0.2492, allocations: 289.8 kB / 456.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.25, allocations: 0.5365 MB / 457.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.2514, allocations: 0.9138 MB / 458 MB, free: 2.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.2515, allocations: 7.938 kB / 458 MB, free: 2.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002196/0.2537, allocations: 1.071 MB / 459.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.2537, allocations: 67.33 kB / 459.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2537, allocations: 8 kB / 459.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.2542, allocations: 89.06 kB / 459.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.2551, allocations: 215.6 kB / 459.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.2566, allocations: 1.585 MB / 461.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.2574, allocations: 107.2 kB / 461.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.2575, allocations: 47.97 kB / 461.2 MB, free: 15.57 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.0004583/0.258, allocations: 331.5 kB / 461.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.2581, allocations: 86.98 kB / 461.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.26, allocations: 0.9205 MB / 462.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.26, allocations: 4 kB / 462.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.26, allocations: 8.062 kB / 462.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.2601, allocations: 7.984 kB / 462.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/0.2661, allocations: 2.196 MB / 464.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2661, allocations: 0 / 464.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.2665, allocations: 91.83 kB / 464.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008075/0.2673, allocations: 322.3 kB / 465.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.2674, allocations: 31.97 kB / 465.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.2687, allocations: 0.8858 MB / 466.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2687, allocations: 0 / 466.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005336/0.274, allocations: 1.635 MB / 467.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.2745, allocations: 223.9 kB / 467.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.2746, allocations: 20 kB / 467.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.2752, allocations: 51.95 kB / 468 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.2753, allocations: 36.39 kB / 468 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.2754, allocations: 35.91 kB / 468.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005952/0.276, allocations: 459 kB / 468.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.276, allocations: 0 / 468.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009527/0.277, allocations: 323 kB / 468.8 MB, free: 7.719 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.00144/0.2784, allocations: 0.6623 MB / 469.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.2804, allocations: 0.968 MB / 470.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2804, allocations: 4 kB / 470.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008634/0.2813, allocations: 477.2 kB / 470.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.2821, allocations: 176 kB / 471.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.2851, allocations: 1.709 MB / 472.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.2858, allocations: 1.006 MB / 473.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.2862, allocations: 126.4 kB / 473.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.2864, allocations: 75.39 kB / 474 MB, free: 2.633 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2864, allocations: 0 / 474 MB, free: 2.633 MB / 334.1 MB Notification: Performance of Templates: time 0.01996/0.3064, allocations: 12.18 MB / 486.2 MB, free: 6.543 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)