Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04728/0.04728, allocations: 5.392 MB / 20.89 MB, free: 1.496 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.01118/0.01118, allocations: 96.2 kB / 22.89 MB, free: 0.7266 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.001226/0.001226, allocations: 194.2 kB / 24.99 MB, free: 292 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.328/1.328, allocations: 222.9 MB / 249.9 MB, free: 8.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009296/0.009296, allocations: 2.313 MB / 303.5 MB, free: 6.539 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 95.84 kB / 367.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1937, allocations: 51.21 MB / 418.4 MB, free: 26.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006142/0.1999, allocations: 6.89 MB / 425.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.2049, allocations: 4.017 MB / 429.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.2057, allocations: 23.94 kB / 429.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.208, allocations: 1.173 MB / 430.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.2096, allocations: 0.8779 MB / 431.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.211, allocations: 0.6115 MB / 432 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.212, allocations: 1.402 MB / 433.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.2131, allocations: 1.013 MB / 434.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.2135, allocations: 0.5642 MB / 434.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.2142, allocations: 0.6832 MB / 435.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2143, allocations: 144 kB / 435.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006588/0.215, allocations: 427.7 kB / 436.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.2152, allocations: 310.8 kB / 436.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.2156, allocations: 0.6297 MB / 437.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2169, allocations: 1.737 MB / 438.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2169, allocations: 0 / 438.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2169, allocations: 0 / 438.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.2169, allocations: 0 / 438.8 MB, free: 5.844 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.00352/0.2204, allocations: 1.798 MB / 440.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2205, allocations: 12.03 kB / 440.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.2226, allocations: 375.1 kB / 441 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.2241, allocations: 0.8049 MB / 441.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.2241, allocations: 74 kB / 441.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.2243, allocations: 111.9 kB / 442 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2259, allocations: 1.13 MB / 443.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.226, allocations: 7.938 kB / 443.1 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.2261, allocations: 47.98 kB / 443.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.2261, allocations: 24 kB / 443.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.2277, allocations: 0.9447 MB / 444.2 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.2341, allocations: 4.342 MB / 448.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.2369, allocations: 1.662 MB / 450.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/0.2376, allocations: 316.6 kB / 450.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.2377, allocations: 101.5 kB / 450.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008656/0.2386, allocations: 462.6 kB / 451 MB, free: 9.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.2386, allocations: 0 / 451 MB, free: 9.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005918/0.2445, allocations: 1.541 MB / 452.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.2447, allocations: 277.6 kB / 452.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/0.2456, allocations: 0.6604 MB / 453.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.2457, allocations: 45.69 kB / 453.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.2461, allocations: 0.514 MB / 454.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.2463, allocations: 217.1 kB / 454.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.2466, allocations: 186.4 kB / 454.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2467, allocations: 390.7 kB / 454.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.2474, allocations: 281.8 kB / 455.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008079/0.2482, allocations: 0.5365 MB / 455.6 MB, free: 4.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.2497, allocations: 0.9138 MB / 456.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.2497, allocations: 7.938 kB / 456.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00231/0.252, allocations: 1.063 MB / 457.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.2521, allocations: 67.39 kB / 457.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.2521, allocations: 8 kB / 457.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.2526, allocations: 93 kB / 457.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.2535, allocations: 219.7 kB / 458 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.2551, allocations: 1.578 MB / 459.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.256, allocations: 115.5 kB / 459.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.2561, allocations: 47.92 kB / 459.7 MB, free: 15.73 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.0005287/0.2566, allocations: 339.6 kB / 460.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.2568, allocations: 87 kB / 460.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.2589, allocations: 0.9128 MB / 461.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2589, allocations: 12 kB / 461.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2589, allocations: 0 / 461.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2589, allocations: 7.984 kB / 461.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/0.2652, allocations: 2.198 MB / 463.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.2652, allocations: 0 / 463.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.2656, allocations: 99.8 kB / 463.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.2665, allocations: 322.3 kB / 463.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.2666, allocations: 31.97 kB / 463.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.268, allocations: 0.8858 MB / 464.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.268, allocations: 0 / 464.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.2735, allocations: 1.638 MB / 466.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.2739, allocations: 219.9 kB / 466.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.274, allocations: 20 kB / 466.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.2746, allocations: 51.95 kB / 466.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.2747, allocations: 36.39 kB / 466.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.2748, allocations: 31.97 kB / 466.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000596/0.2754, allocations: 463 kB / 467.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2754, allocations: 4 kB / 467.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009803/0.2764, allocations: 319 kB / 467.4 MB, free: 7.855 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.001421/0.2778, allocations: 0.6646 MB / 468 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.2799, allocations: 0.994 MB / 469 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2799, allocations: 4 kB / 469 MB, free: 6.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.2808, allocations: 482.8 kB / 469.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.2817, allocations: 173.5 kB / 469.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.2849, allocations: 1.729 MB / 471.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.2855, allocations: 1.006 MB / 472.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.286, allocations: 122.4 kB / 472.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2862, allocations: 75.39 kB / 472.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2862, allocations: 0 / 472.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of Templates: time 0.0222/0.3084, allocations: 12.24 MB / 484.8 MB, free: 6.578 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)